1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-01 19:22:41 +01:00

Delete flushing moved to libphutil

Test Plan:
  $ arc diff # under HPHP

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3563
This commit is contained in:
vrana 2012-09-28 09:45:11 -07:00
parent a6221ea166
commit e58e408129

View file

@ -1238,7 +1238,6 @@ EOTEXT
} }
$lint_result = $lint_workflow->run(); $lint_result = $lint_workflow->run();
$this->flushOutput();
switch ($lint_result) { switch ($lint_result) {
case ArcanistLintWorkflow::RESULT_OKAY: case ArcanistLintWorkflow::RESULT_OKAY:
@ -1311,7 +1310,6 @@ EOTEXT
} }
$unit_workflow = $this->buildChildWorkflow('unit', $argv); $unit_workflow = $this->buildChildWorkflow('unit', $argv);
$unit_result = $unit_workflow->run(); $unit_result = $unit_workflow->run();
$this->flushOutput();
switch ($unit_result) { switch ($unit_result) {
case ArcanistUnitWorkflow::RESULT_OKAY: case ArcanistUnitWorkflow::RESULT_OKAY:
@ -1384,12 +1382,6 @@ EOTEXT
return $return; return $return;
} }
private function flushOutput() {
if ($this->getArgument('no-diff')) {
ob_flush();
}
}
/* -( Commit and Update Messages )----------------------------------------- */ /* -( Commit and Update Messages )----------------------------------------- */