]> khamidou — GitHub mirrors - arcanist.git/commit
Fix linter config check
authorAviv Eyal <avivey@gmail.com>
Tue, 5 May 2015 21:03:01 +0000 (14:03 -0700)
committerepriestley <git@epriestley.com>
Tue, 5 May 2015 21:03:01 +0000 (14:03 -0700)
commit6f7bedaceb6857a084b4914679a43fdedfb720da
treeed12201201ff30b61418ba5966df932e66d595d1
parent111b9b035aecdfe2ddc8d0cf83b98c9829204427
Fix linter config check

Summary: Fixes T6311 and T5124 by returning all configured linters from `buildLinter()`, and making `ArcanistExternalLinter::checkBinaryConfiguration()` not crash if there's no executable to run.

Test Plan: `arc linters` in rP shows "Configured" and "ERROR" as appropriate; Adding a broken linter to `.arclint` in rARC doesn't invoke it's not actually needed, and prints error if it is.

Reviewers: joshuaspence, epriestley, #blessed_reviewers

Reviewed By: joshuaspence, epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T6311

Differential Revision: https://secure.phabricator.com/D10773
src/lint/engine/ArcanistConfigurationDrivenLintEngine.php
src/lint/linter/ArcanistExternalLinter.php