From 23eba80656aab410d0a19bdf2a7e77440a5f2e56 Mon Sep 17 00:00:00 2001 From: Emily Stark Date: Mon, 20 Oct 2014 22:54:22 -0700 Subject: [PATCH] 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. --- tools/commands-packages.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/commands-packages.js b/tools/commands-packages.js index 445ff852b9..04ca58ead2 100644 --- a/tools/commands-packages.js +++ b/tools/commands-packages.js @@ -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; }