File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,9 @@ function ${name}(${args}) {
520520 includeFile ( 'base64Utils.js' ) ;
521521 }
522522
523- if ( abortExecution ) throw Error ( 'Aborting compilation due to previous errors' ) ;
523+ if ( abortExecution ) {
524+ throw Error ( 'Aborting compilation due to previous errors' ) ;
525+ }
524526
525527 // This is the main 'post' pass. Print out the generated code that we have here, together with the
526528 // rest of the output that we started to print out earlier (see comment on the
@@ -565,6 +567,9 @@ function ${name}(${args}) {
565567 }
566568
567569 if ( symbolsOnly ) {
570+ if ( abortExecution ) {
571+ throw Error ( 'Aborting compilation due to previous errors' ) ;
572+ }
568573 print ( JSON . stringify ( {
569574 deps : symbolDeps ,
570575 asyncFuncs
You can’t perform that action at this time.
0 commit comments