]> khamidou — GitHub mirrors - arcanist.git/commit
Don't bail on no effect exception
authorvrana <jakubv@fb.com>
Thu, 24 Jan 2013 22:45:21 +0000 (14:45 -0800)
committervrana <jakubv@fb.com>
Fri, 25 Jan 2013 00:07:50 +0000 (16:07 -0800)
commite56f47aed5a0124df008262cb9c45dead4815196
tree59bf27929a5508d5811239021a91dbab46dd3734
parentaec212069e5699663ed6487b616279b1b6c08b48
Don't bail on no effect exception

Summary: The main reason for this is to not exit with 1 when no paths are lintable (which is more success than failure).

Test Plan:
Returned empty array from `buildLinters()`, then:

  $ arc lint
  $ echo $? # 0

Reviewers: epriestley

Reviewed By: epriestley

CC: wez, aran, Korvin
Differential Revision: https://secure.phabricator.com/D4625
scripts/arcanist.php
src/workflow/ArcanistDiffWorkflow.php