diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index 358b0f28f..bdc9f703c 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -445,11 +445,10 @@ EOT if (isset($package['path'])) { $io->write(' ' . $package['path'], false); } - if (isset($package['warning'])) { - $io->writeError(''); - $io->writeError('' . $package['warning'] . '', false); - } $io->write(''); + if (isset($package['warning'])) { + $io->write('' . $package['warning'] . ''); + } } if ($showAllTypes) {