Skip to content

Commit d45d649

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webpack-shell-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default class WebpackShellPlugin {
3838

3939
handleScript(script) {
4040
if (os.platform() === 'win32') {
41-
this.spreadStdoutAndStdErr(exec(script, puts));
41+
this.spreadStdoutAndStdErr(exec(script, this.puts));
4242
} else {
4343
const {command, args} = this.serializeScript(script);
4444
const proc = spawn(command, args, {stdio: 'inherit'});

0 commit comments

Comments
 (0)