File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -483,12 +483,12 @@ function processPluginQueue() {
483
483
case 'rewrite-urls' :
484
484
if ( match [ 2 ] === 'all' || match [ 2 ] === 'local' ) {
485
485
options . rewriteUrls = match [ 2 ] ;
486
- } if ( match [ 2 ] === 'off' ) {
486
+ } else if ( match [ 2 ] === 'off' ) {
487
487
options . rewriteUrls = false ;
488
488
} else if ( ! match [ 2 ] ) {
489
489
options . rewriteUrls = 'all' ;
490
490
} else {
491
- console . error ( 'Unkown rewrite-urls argument ' + match [ 2 ] ) ;
491
+ console . error ( 'Unknown rewrite-urls argument ' + match [ 2 ] ) ;
492
492
continueProcessing = false ;
493
493
process . exitCode = 1 ;
494
494
}
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ function writeFile(filename, content) {
320
320
} else if ( ! match [ 2 ] ) {
321
321
options . rewriteUrls = 'all' ;
322
322
} else {
323
- print ( 'Unkown rewrite-urls argument ' + match [ 2 ] ) ;
323
+ print ( 'Unknown rewrite-urls argument ' + match [ 2 ] ) ;
324
324
continueProcessing = false ;
325
325
currentErrorcode = 1 ;
326
326
}
You can’t perform that action at this time.
0 commit comments