Skip to content

Commit

Permalink
Fix lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoda committed Sep 13, 2016
1 parent c8fcf12 commit 28266ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/server/config/WatchMissingNodeModulesPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ function WatchMissingNodeModulesPlugin(nodeModulesPath) {

WatchMissingNodeModulesPlugin.prototype.apply = function (compiler) {
compiler.plugin('emit', (compilation, callback) => {
var missingDeps = compilation.missingDependencies;
var nodeModulesPath = this.nodeModulesPath;
const missingDeps = compilation.missingDependencies;
const nodeModulesPath = this.nodeModulesPath;

// If any missing files are expected to appear in node_modules...
if (missingDeps.some(file => file.indexOf(nodeModulesPath) !== -1)) {
Expand All @@ -29,6 +29,6 @@ WatchMissingNodeModulesPlugin.prototype.apply = function (compiler) {

callback();
});
}
};

module.exports = WatchMissingNodeModulesPlugin;

0 comments on commit 28266ea

Please sign in to comment.