mirror of
https://github.com/bower/bower.git
synced 2026-02-11 22:44:58 -05:00
Change registryName to registry.
This commit is contained in:
@@ -81,7 +81,7 @@ Project.prototype.install = function (endpoints, options) {
|
||||
that._json[key] = that._json[key] || {};
|
||||
|
||||
mout.object.forOwn(targets, function (decEndpoint) {
|
||||
var source = decEndpoint.source === decEndpoint.registryName ? '' : decEndpoint.source;
|
||||
var source = decEndpoint.registry ? '' : decEndpoint.source;
|
||||
var target = decEndpoint.pkgMeta.version ? '~' + decEndpoint.pkgMeta.version : decEndpoint.target;
|
||||
that._json[key][decEndpoint.name] = mout.string.ltrim(source + '#' + target, ['#']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user