mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #6611 from laosb/patch-4
Correct the info of update when on latest recommended release.
This commit is contained in:
@@ -1302,10 +1302,16 @@ var maybeUpdateRelease = function (options) {
|
||||
// the old tool.
|
||||
//
|
||||
// We'll still springboard forwards out of an RC, just not backwards.
|
||||
Console.info("Not updating the release, because this app is at a " +
|
||||
"newer release (" + release.current.name + ") than " +
|
||||
"the latest recommended release " +
|
||||
"(" + latestRelease + ").");
|
||||
// There still has a possibility of already on the latest.
|
||||
if (release.current.name === latestRelease) {
|
||||
Console.info("Already on the latest recommended release " +
|
||||
"(" + latestRelease + "). Not updating.");
|
||||
} else {
|
||||
Console.info("Not updating the release, because this app is at a " +
|
||||
"newer release (" + release.current.name + ") than " +
|
||||
"the latest recommended release " +
|
||||
"(" + latestRelease + ").");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user