Fixing failed test.

This commit is contained in:
Dan Cryer 2014-07-30 14:03:55 +01:00
parent f117b5b6b6
commit 69ea614d78

View file

@ -101,7 +101,7 @@ abstract class BaseCommandExecutor implements CommandExecutor
$status = proc_close($process);
}
$this->lastOutput = explode(PHP_EOL, $this->lastOutput);
$this->lastOutput = array_filter(explode(PHP_EOL, $this->lastOutput));
$shouldOutput = ($this->logExecOutput && ($this->verbose || $status != 0));