mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-26 15:30:57 +01:00
Redirect output to console in background mode of arc diff
Summary: See D3208. Test Plan: $ arc diff --background 1 Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3210
This commit is contained in:
parent
678efa44c6
commit
45fc4c992c
1 changed files with 1 additions and 0 deletions
|
@ -371,6 +371,7 @@ EOTEXT
|
|||
$this->console = PhutilConsole::getConsole();
|
||||
|
||||
if ($this->getArgument('no-diff')) {
|
||||
$this->console->beginRedirectOut();
|
||||
$this->removeScratchFile('diff-result.json');
|
||||
$data = $this->runLintUnit();
|
||||
$this->writeScratchJSONFile('diff-result.json', $data);
|
||||
|
|
Loading…
Reference in a new issue