Remove unused property, fix CS again.

This commit is contained in:
André Cruz
2012-10-11 20:29:22 +01:00
parent e8b473b550
commit 0a4a484f3d
2 changed files with 4 additions and 3 deletions

View File

@@ -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);

View File

@@ -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
};