mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use existing 'utils.displayRelease' helper
This commit is contained in:
@@ -1741,10 +1741,7 @@ 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;
|
||||
}
|
||||
var releaseToPrint = utils.displayRelease(appTrack, appVersion);
|
||||
Console.info(
|
||||
"This project is already at Meteor " + releaseToPrint +
|
||||
", which is newer than the latest release.");
|
||||
|
||||
Reference in New Issue
Block a user