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 () {
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 ;
Original file line number Diff line number Diff 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' } ) ;
You can’t perform that action at this time.
0 commit comments