Merge branch 'meteor-update-ux' into devel

This commit is contained in:
Slava Kim
2014-10-20 22:57:46 -07:00

View File

@@ -1953,6 +1953,17 @@ main.registerCommand({
upgradePackages = options.args;
}
// Check that every requested package exists
var unknownPackages = 0;
_.each(upgradePackages, function (packageName) {
if (! _.has(versions, packageName)) {
Console.error(packageName + ': package is not in the project');
unknownPackages++;
}
});
if (unknownPackages)
return 1;
// Call the constraint solver. This should not fail, since we are not adding
// any constraints that we didn't have before.
var newVersions;