mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix meteor update from an app created from a checkout
This commit is contained in:
@@ -1392,7 +1392,7 @@ var maybeUpdateRelease = function (options) {
|
||||
}
|
||||
|
||||
// We are running from checkout, so we are not updating the release.
|
||||
if (release.current.isCheckout()) {
|
||||
if (release.current && release.current.isCheckout()) {
|
||||
Console.error(
|
||||
"You are running Meteor from a checkout, so we cannot update the Meteor release.\n" +
|
||||
"Checking to see if we can update your packages.");
|
||||
|
||||
Reference in New Issue
Block a user