mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Print release name more prettily in 'meteor update' message.
Instead of "Meteor METEOR@1.0", print "Meteor 1.0". This change is somewhat untested because in order to test it we need 1. a built release, and 2. installed 'meteor' to point to that built release.
This commit is contained in:
@@ -1741,8 +1741,12 @@ var maybeUpdateRelease = function (options) {
|
||||
if (!releaseVersionsToTry.length) {
|
||||
// We could not find any releases newer than the one that we are on, on
|
||||
// that track, so we are done.
|
||||
var releaseToPrint = appRelease;
|
||||
if (appTrack === "METEOR") {
|
||||
releaseToPrint = appVersion;
|
||||
}
|
||||
Console.info(
|
||||
"This project is already at Meteor " + appRelease +
|
||||
"This project is already at Meteor " + releaseToPrint +
|
||||
", which is newer than the latest release.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user