Skip to content

Commit ca63144

Browse files
authored
bug fix for "puts undefined error"
1 parent d45d649 commit ca63144

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ var WebpackShellPlugin = function () {
193193
key: 'handleScript',
194194
value: function handleScript(script) {
195195
if (os.platform() === 'win32') {
196-
this.spreadStdoutAndStdErr(exec(script, puts));
196+
this.spreadStdoutAndStdErr(exec(script, this.puts));
197197
} else {
198198
var _serializeScript = this.serializeScript(script),
199199
command = _serializeScript.command,
@@ -273,4 +273,4 @@ var WebpackShellPlugin = function () {
273273
return WebpackShellPlugin;
274274
}();
275275

276-
module.exports = WebpackShellPlugin;
276+
module.exports = WebpackShellPlugin;

0 commit comments

Comments
 (0)