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