mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 08:12:40 +01:00
Don't reject commits which fail to trigger any linters.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
964030050b
commit
58a2720785
1 changed files with 6 additions and 1 deletions
|
@ -199,7 +199,12 @@ EOTEXT
|
|||
$engine->setFileData($data);
|
||||
$engine->setCommitHookMode(true);
|
||||
|
||||
$results = $engine->run();
|
||||
try {
|
||||
$results = $engine->run();
|
||||
} catch (ArcanistNoEffectException $no_effect) {
|
||||
// Nothing to do, bail out.
|
||||
return 0;
|
||||
}
|
||||
|
||||
$renderer = new ArcanistLintRenderer();
|
||||
$failures = array();
|
||||
|
|
Loading…
Reference in a new issue