Fix meteor update from an app created from a checkout

This commit is contained in:
Avital Oliver
2014-09-30 01:17:10 -07:00
parent e540d72070
commit fcb3e09dd0

View File

@@ -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.");