mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Not needed anymore.
This commit is contained in:
@@ -86,11 +86,6 @@ Manager.prototype.resolveEndpoints = function () {
|
||||
};
|
||||
|
||||
Manager.prototype.loadJSON = function () {
|
||||
if (this.json) {
|
||||
this.emit('loadJSON');
|
||||
return this;
|
||||
}
|
||||
|
||||
var json = path.join(this.cwd, config.json);
|
||||
fs.exists(json, function (exists) {
|
||||
if (!exists) return this.emit('error', new Error('Could not find local ' + config.json));
|
||||
|
||||
Reference in New Issue
Block a user