Merge pull request #6879 from OskarStark/output

highlight previous composer version
main
Jordi Boggiano 7 years ago committed by GitHub
commit 7d57f84b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>');
}

Loading…
Cancel
Save