Skip to content

Commit

Permalink
Merge pull request #5127 from timse/nitpicks-3
Browse files Browse the repository at this point in the history
remove "lastId" as there is no usecase
  • Loading branch information
sokra committed Jun 21, 2017
2 parents c12a001 + 5b4836d commit e08d2f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lib/Compilation.js
Expand Up @@ -113,8 +113,6 @@ class Compilation extends Tapable {
cacheModule.errors.forEach(err => this.errors.push(err), this);
cacheModule.warnings.forEach(err => this.warnings.push(err), this);
return cacheModule;
} else {
module.lastId = cacheModule.id;
}
}
module.unbuild();
Expand Down
3 changes: 0 additions & 3 deletions lib/Module.js
Expand Up @@ -28,7 +28,6 @@ class Module extends DependenciesBlock {
this.context = null;
this.reasons = [];
this.debugId = debugId++;
this.lastId = -1;
this.id = null;
this.portableId = null;
this.index = null;
Expand All @@ -50,7 +49,6 @@ class Module extends DependenciesBlock {

disconnect() {
this.reasons.length = 0;
this.lastId = this.id;
this.id = null;
this.index = null;
this.index2 = null;
Expand All @@ -64,7 +62,6 @@ class Module extends DependenciesBlock {
}

unseal() {
this.lastId = this.id;
this.id = null;
this.index = null;
this.index2 = null;
Expand Down

0 comments on commit e08d2f5

Please sign in to comment.