]> khamidou — GitHub mirrors - arcanist.git/commit
Print lint results before throwing
authorvrana <jakubv@fb.com>
Sat, 20 Oct 2012 11:42:53 +0000 (04:42 -0700)
committervrana <jakubv@fb.com>
Sat, 20 Oct 2012 12:03:22 +0000 (05:03 -0700)
commitd09eb881a368f41723588822bacdf99a01fcd6c0
tree86c6bfe6e57cf7e84f545b26e6c10368021475b8
parent134e9e5b4dbb202b4368fa66fd6f81099d8b88f6
Print lint results before throwing

Summary:
When some linter throws then we don't print any result.
This is bad in case when the linter threw e.g. because of syntax error in some file which some other linter will tell us about.

Test Plan: Threw from a linter, made lint error in a file, saw error then exception.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3756
src/lint/engine/ArcanistLintEngine.php
src/workflow/ArcanistLintWorkflow.php