1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00

Don't reject commits which fail to trigger any linters.

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-02-17 12:45:15 -08:00
parent 964030050b
commit 58a2720785

View file

@ -199,7 +199,12 @@ EOTEXT
$engine->setFileData($data);
$engine->setCommitHookMode(true);
try {
$results = $engine->run();
} catch (ArcanistNoEffectException $no_effect) {
// Nothing to do, bail out.
return 0;
}
$renderer = new ArcanistLintRenderer();
$failures = array();