Skip to content

Commit a8bbb69

Browse files
committed
fixed default value
1 parent 64a0e4d commit a8bbb69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function(compiler, options) {
1111
if(!options) options = {};
1212
if(options.watchDelay === undefined) options.watchDelay = 200;
1313
if(!options.stats) options.stats = {};
14-
if(options.stats.context !== undefined) options.stats.context = process.cwd();
14+
if(!options.stats.context) options.stats.context = process.cwd();
1515

1616
// store our files in memory
1717
var files = {};

0 commit comments

Comments
 (0)