diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 256b7676..1633c7f6 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -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);