mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-22 13:30:54 +01:00
Fix "arc linters" if no engine is built or configured
Summary: `$engine` will be undefined here. This was just copy/paste derp, combined with me accidentally having an `.arclint` file in a place I didn't expect to have one when I tried to test this. Test Plan: Ran `arc linters` in a totally bare, non-.arclint-having working copy Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D9255
This commit is contained in:
parent
e0ee3e8a07
commit
f64dee022e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ EOTEXT
|
|||
try {
|
||||
$built = $this->newLintEngine()->buildLinters();
|
||||
} catch (ArcanistNoEngineException $ex) {
|
||||
$built = $engine->buildLinters();
|
||||
$built = array();
|
||||
}
|
||||
|
||||
// Note that an engine can emit multiple linters of the same class to run
|
||||
|
|
Loading…
Reference in a new issue