Use existing 'utils.displayRelease' helper

This commit is contained in:
Emily Stark
2014-10-21 11:37:34 -07:00
parent 1eaba883ae
commit 397109b167

View File

@@ -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.");