Avoid mixing stderr and stdout in outdated command as it mangles output

main
Jordi Boggiano 7 years ago
parent be201924cd
commit 83798d8090

@ -445,11 +445,10 @@ EOT
if (isset($package['path'])) { if (isset($package['path'])) {
$io->write(' ' . $package['path'], false); $io->write(' ' . $package['path'], false);
} }
$io->write('');
if (isset($package['warning'])) { if (isset($package['warning'])) {
$io->writeError(''); $io->write('<warning>' . $package['warning'] . '</warning>');
$io->writeError('<warning>' . $package['warning'] . '</warning>', false);
} }
$io->write('');
} }
if ($showAllTypes) { if ($showAllTypes) {

Loading…
Cancel
Save