From 397109b167a9cbe649aaca185d8a52f19f98997c Mon Sep 17 00:00:00 2001 From: Emily Stark Date: Tue, 21 Oct 2014 11:37:34 -0700 Subject: [PATCH] Use existing 'utils.displayRelease' helper --- tools/commands-packages.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/commands-packages.js b/tools/commands-packages.js index 326be8c64d..e410f2456e 100644 --- a/tools/commands-packages.js +++ b/tools/commands-packages.js @@ -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.");