Fix minor issues when using the force flag.

This commit is contained in:
André Cruz
2013-05-13 16:07:46 +01:00
parent 19e3a2ecc4
commit e479e84bde
4 changed files with 68 additions and 48 deletions

View File

@@ -61,6 +61,9 @@ Project.prototype.install = function (endpoints) {
// Mark jsons to be resolved if they are not installed
// Even if they are installed, its semver must match
// against the installed ones
// TODO: If the user deletes a deep dependency this won't work out
// Find a better solution
mout.object.forOwn(jsons, function (decEndpoint) {
var local = locals[decEndpoint.name];