Changeset View
Changeset View
Standalone View
Standalone View
src/lint/engine/ArcanistComprehensiveLintEngine.php
Context not available. | |||||
$paths = $this->getPaths(); | $paths = $this->getPaths(); | ||||
foreach ($paths as $key => $path) { | foreach ($paths as $key => $path) { | ||||
if (preg_match('@^externals/@', $path)) { | if (@preg_match('@^externals/@', $path)) { | ||||
// Third-party stuff lives in /externals/; don't run lint engines | // Third-party stuff lives in /externals/; don't run lint engines | ||||
// against it. | // against it. | ||||
unset($paths[$key]); | unset($paths[$key]); | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0