mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
clarifying comment
This commit is contained in:
committed by
David Glasser
parent
95db2bb00b
commit
7fc3b10568
@@ -388,9 +388,12 @@ Fiber(function () {
|
||||
// XXX think carefully about what happens if we double-update
|
||||
var updatedFrom = opt.argv['updated-from'] || releaseVersion;
|
||||
|
||||
// we need to update the global releaseVersion variable
|
||||
// because that's what engineSpringboard reads
|
||||
/* global */ releaseVersion = warehouse.latestRelease();
|
||||
|
||||
// XXX make errors look good
|
||||
var didUpdate = warehouse.fetchLatestRelease();
|
||||
/* global */ releaseVersion = warehouse.latestRelease();
|
||||
if (didUpdate) {
|
||||
console.log("Updated Meteor to release " + releaseVersion + ".");
|
||||
engineSpringboard(['--updated-from=' + updatedFrom]);
|
||||
|
||||
Reference in New Issue
Block a user