File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ var WebpackShellPlugin = function () {
193
193
key : 'handleScript' ,
194
194
value : function handleScript ( script ) {
195
195
if ( os . platform ( ) === 'win32' ) {
196
- this . spreadStdoutAndStdErr ( exec ( script , puts ) ) ;
196
+ this . spreadStdoutAndStdErr ( exec ( script , this . puts ) ) ;
197
197
} else {
198
198
var _serializeScript = this . serializeScript ( script ) ,
199
199
command = _serializeScript . command ,
@@ -273,4 +273,4 @@ var WebpackShellPlugin = function () {
273
273
return WebpackShellPlugin ;
274
274
} ( ) ;
275
275
276
- module . exports = WebpackShellPlugin ;
276
+ module . exports = WebpackShellPlugin ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default class WebpackShellPlugin {
38
38
39
39
handleScript ( script ) {
40
40
if ( os . platform ( ) === 'win32' ) {
41
- this . spreadStdoutAndStdErr ( exec ( script , puts ) ) ;
41
+ this . spreadStdoutAndStdErr ( exec ( script , this . puts ) ) ;
42
42
} else {
43
43
const { command, args} = this . serializeScript ( script ) ;
44
44
const proc = spawn ( command , args , { stdio : 'inherit' } ) ;
You can’t perform that action at this time.
0 commit comments