1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-20 08:58:55 +02: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:
vrana 2012-08-08 19:02:33 -07:00
parent 678efa44c6
commit 45fc4c992c

View file

@ -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);