Skip to content

Commit

Permalink
existing range load fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jul 22, 2016
1 parent 9850fb4 commit ee659a3
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 @@ -939,12 +939,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.deps[name];
});
})
.then(function(target) {
Expand Down

0 comments on commit ee659a3

Please sign in to comment.