Fix overwriteError behavior, fixes #3817
parent
d9b5c884ba
commit
ad40cdc3fe
|
@ -197,8 +197,13 @@ class ConsoleIO extends BaseIO
|
|||
if ($newline) {
|
||||
$this->doWrite('', true, $stderr);
|
||||
}
|
||||
|
||||
if ($stderr) {
|
||||
$this->lastMessageErr = $messages;
|
||||
} else {
|
||||
$this->lastMessage = $messages;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
Loading…
Reference in New Issue