Skip to content

Commit

Permalink
Merge pull request #6897 from mohsen1/init-time
Browse files Browse the repository at this point in the history
Initialize start and end time as undefined in Stats
  • Loading branch information
sokra committed Mar 29, 2018
2 parents cc77f7e + 6fa6720 commit e15df70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Stats.js
Expand Up @@ -19,6 +19,8 @@ class Stats {
constructor(compilation) {
this.compilation = compilation;
this.hash = compilation.hash;
this.startTime = undefined;
this.endTime = undefined;
}

static filterWarnings(warnings, warningsFilter) {
Expand Down

0 comments on commit e15df70

Please sign in to comment.