Skip to content

Commit

Permalink
fix 'this' context
Browse files Browse the repository at this point in the history
  • Loading branch information
pavvell committed Jan 18, 2018
1 parent c05b963 commit 998a33b
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 @@ -44,7 +44,7 @@ BuildNotifierPlugin.prototype.setup = function() {
};

BuildNotifierPlugin.prototype.apply = function(compiler) {
compiler.plugin('done', function() {
compiler.plugin('done', () => {

if (!this.state.setupIsDone) {
this.setup();
Expand Down

0 comments on commit 998a33b

Please sign in to comment.