Skip to content

Commit

Permalink
fix: fix compiled message in minimal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Mar 31, 2018
1 parent 1c9523e commit 80f7ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default class WebpackBarPlugin extends webpack.ProgressPlugin {
const time = process.hrtime(this.state.start);
if (this.options.minimal) {
this.options.stream.write(
`Compiled ${this.options.name} in ${prettyTime(this.state.time)}\n`
`Compiled ${this.options.name} in ${prettyTime(time)}\n`
);
} else {
this.logUpdate.clear();
Expand Down

0 comments on commit 80f7ac2

Please sign in to comment.