Skip to content

Commit

Permalink
fix up deps extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jul 26, 2016
1 parent 49530b0 commit bebf56b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,12 +705,12 @@ function loadExistingRange(name, parent, inject) {
if (depMap)
return depMap;

return config.deps;
return config.deps[new PackageName(parent).exactName];
}));
});
})
.then(function(deps) {
return parent ? deps[(new PackageName(parent)).exactName][name] : deps[name];
return deps[name];
});
})
.then(function(target) {
Expand Down

0 comments on commit bebf56b

Please sign in to comment.