mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Errors should be output on stderr.
This commit is contained in:
parent
af4b0c9c1b
commit
f4b2e03295
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ class SchemaShell extends Shell {
|
||||||
$Schema->after(array($event => $table, 'errors' => $error));
|
$Schema->after(array($event => $table, 'errors' => $error));
|
||||||
|
|
||||||
if (!empty($error)) {
|
if (!empty($error)) {
|
||||||
$this->out($error);
|
$this->err($error);
|
||||||
} else {
|
} else {
|
||||||
$this->out(__d('cake_console', '%s updated.', $table));
|
$this->out(__d('cake_console', '%s updated.', $table));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue