use skipPackages consistently

This commit is contained in:
David Glasser
2014-07-24 16:31:59 -07:00
parent 1591e076e9
commit ea7afca05f

View File

@@ -299,7 +299,8 @@ _.extend(Project.prototype, {
// Remove the versions that don't exist
var removed = _.difference(_.keys(versions), _.keys(newVersions));
_.each(removed, function(packageName) {
messageLog.push("removed dependency on " + packageName);
if (!_.contains(options.skipPackages, packageName))
messageLog.push("removed dependency on " + packageName);
});
_.each(newVersions, function(version, packageName) {