File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class WebpackShellPlugin {
6262 }
6363 if ( this . options . onBuildStart . length ) {
6464 console . log ( 'Executing pre-build scripts' ) ;
65- throw this . options . onBuildStart . forEach ( script => {
65+ this . options . onBuildStart . forEach ( script => {
6666 if ( this . options . throwOnExecError ) {
6767 spreadStdoutAndStdErr ( exec ( script , putsThrow ) ) ;
6868 } else {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export default class WebpackShellPlugin {
6060 }
6161 if ( this . options . onBuildStart . length ) {
6262 console . log ( 'Executing pre-build scripts' ) ;
63- throw this . options . onBuildStart . forEach ( ( script ) => {
63+ this . options . onBuildStart . forEach ( ( script ) => {
6464 if ( this . options . throwOnExecError ) {
6565 spreadStdoutAndStdErr ( exec ( script , putsThrow ) ) ;
6666 }
You can’t perform that action at this time.
0 commit comments