Page MenuHomePhabricator

D10773.diff
No OneTemporary

D10773.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
@@ -129,10 +129,8 @@
"%s\n",
pht("Found %d matching paths for linter '%s'.", count($paths), $name));
- if ($paths) {
- $linter->setPaths($paths);
- $built_linters[] = $linter;
- }
+ $linter->setPaths($paths);
+ $built_linters[] = $linter;
}
return $built_linters;
diff --git a/src/lint/linter/ArcanistExternalLinter.php b/src/lint/linter/ArcanistExternalLinter.php
--- a/src/lint/linter/ArcanistExternalLinter.php
+++ b/src/lint/linter/ArcanistExternalLinter.php
@@ -299,6 +299,12 @@
}
public function getCacheVersion() {
+ try {
+ $this->checkBinaryConfiguration();
+ } catch (ArcanistMissingLinterException $e) {
+ return null;
+ }
+
$version = $this->getVersion();
if ($version) {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 9:48 AM (15 h, 22 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6778016
Default Alt Text
D10773.diff (1 KB)

Event Timeline