diff --git a/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php b/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php index e812f4de..88eeb9d8 100644 --- a/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php +++ b/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php @@ -121,10 +121,10 @@ final class ArcanistConfigurationDrivenLintEngine extends ArcanistLintEngine { count($paths), $name); - $linter->setPaths($paths); - - - $built_linters[] = $linter; + if ($paths) { + $linter->setPaths($paths); + $built_linters[] = $linter; + } } return $built_linters;