mirror of
https://github.com/bower/bower.git
synced 2026-02-11 14:34:58 -05:00
Fix bug introduced when name is coerced to the registry name.
This commit is contained in:
@@ -29,6 +29,7 @@ Manager.prototype.configure = function (setup) {
|
||||
// Targets
|
||||
this._targets = setup.targets || [];
|
||||
this._targets.forEach(function (decEndpoint) {
|
||||
decEndpoint.initialName = decEndpoint.name;
|
||||
decEndpoint.dependants = mout.object.values(decEndpoint.dependants);
|
||||
targetsHash[decEndpoint.name] = true;
|
||||
});
|
||||
@@ -264,8 +265,7 @@ Manager.prototype._onFetchSuccess = function (decEndpoint, canonicalDir, pkgMeta
|
||||
var resolved;
|
||||
var index;
|
||||
var incompatibles;
|
||||
var initialName = decEndpoint.name;
|
||||
var fetching = this._fetching[initialName];
|
||||
var fetching = this._fetching[decEndpoint.initialName];
|
||||
|
||||
// Remove from being fetched list
|
||||
mout.array.remove(fetching, decEndpoint);
|
||||
|
||||
Reference in New Issue
Block a user