Page MenuHomePhabricator

D9843.diff
No OneTemporary

D9843.diff

diff --git a/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php b/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php
--- a/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php
+++ b/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php
@@ -121,10 +121,10 @@
count($paths),
$name);
- $linter->setPaths($paths);
-
-
- $built_linters[] = $linter;
+ if ($paths) {
+ $linter->setPaths($paths);
+ $built_linters[] = $linter;
+ }
}
return $built_linters;

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 28, 5:18 AM (6 d, 11 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7695802
Default Alt Text
D9843.diff (538 B)

Event Timeline