Cli/Loader: Configure the used Screen to use STDERR

Otherwise we still colorize output if stderr is being
redirected.
This commit is contained in:
Johannes Meyer 2020-11-30 15:31:22 +01:00
parent d7e3547c6e
commit 629a39ebbe

View File

@ -78,8 +78,9 @@ class Loader
protected function screen()
{
if ($this->screen === null) {
$this->screen = Screen::instance();
$this->screen = Screen::instance(STDERR);
}
return $this->screen;
}