1
0
Fork 0

Merge pull request #6879 from OskarStark/output

highlight previous composer version
pull/6895/merge
Jordi Boggiano 2017-12-16 22:08:47 +01:00 committed by GitHub
commit 7d57f84b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>');
}