mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Remove unused property, fix CS again.
This commit is contained in:
@@ -25,7 +25,7 @@ var shorthand = { 'h': ['--help'], 'S': ['--save'] };
|
||||
|
||||
module.exports = function (paths, options) {
|
||||
var emitter = new Emitter;
|
||||
var manager = new Manager(paths)
|
||||
var manager = new Manager(paths);
|
||||
|
||||
if (options && options.save) save(emitter, manager, paths);
|
||||
|
||||
|
||||
@@ -93,7 +93,9 @@ var Package = function (name, endpoint, manager) {
|
||||
}
|
||||
}
|
||||
|
||||
this.endpoint = endpoint;
|
||||
// Store a reference to the original tag
|
||||
// This is because the tag gets rewriten later and the original tag
|
||||
// must be used by the manager later on
|
||||
this.originalTag = this.tag;
|
||||
|
||||
// Generate an id and a resourceId
|
||||
@@ -486,7 +488,6 @@ Package.prototype.serialize = function () {
|
||||
assetUrl: this.assetUrl,
|
||||
assetType: this.assetType,
|
||||
json: this.json,
|
||||
endpoint: this.endpoint,
|
||||
gitUrl: this.gitUrl,
|
||||
dependencies: this.dependencies
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user