1
0
Fork 0

highlight previous composer version

pull/6879/head
Oskar Stark 2017-12-07 10:12:21 +01:00
parent 578798c87c
commit 8b90037d7b
1 changed files with 4 additions and 1 deletions

View File

@ -231,7 +231,10 @@ TAGSPUBKEY
}
if (file_exists($backupFile)) {
$io->writeError('Use <info>composer self-update --rollback</info> to return to version '.Composer::VERSION);
$io->writeError(sprintf(
'Use <info>composer self-update --rollback</info> to return to version <comment>%s</comment>',
Composer::VERSION
));
} else {
$io->writeError('<warning>A backup of the current version could not be written to '.$backupFile.', no rollback possible</warning>');
}