File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ async function run(
6060 const uuid = helpers . uuid ( ) ;
6161
6262 let isLoading = false ;
63- let isFallback = false
63+ let isFallback = false ;
6464 let filename , pathName , extension ;
6565 let port = appSettings . value . serverPort ;
6666 let EXECUTING_SCRIPT = uuid + "_script.js" ;
@@ -478,17 +478,17 @@ async function run(
478478 let fs = fsOperation ( url ) ;
479479
480480 if ( ! ( await fs . exists ( ) ) ) {
481- const xfs = fsOperation ( Url . join ( pathName , filename ) )
482-
483- if ( await xfs . exists ( ) ) {
484- fs = xfs
485- isFallback = true
486- console . log ( `fallback ${ Url . join ( pathName , filename ) } ` )
487- } else {
488- console . log ( `${ url } doesnt exists` )
489- error ( id ) ;
481+ const xfs = fsOperation ( Url . join ( pathName , filename ) ) ;
482+
483+ if ( await xfs . exists ( ) ) {
484+ fs = xfs ;
485+ isFallback = true ;
486+ console . log ( `fallback ${ Url . join ( pathName , filename ) } ` ) ;
487+ } else {
488+ console . log ( `${ url } doesnt exists` ) ;
489+ error ( id ) ;
490490 }
491-
491+
492492 return ;
493493 }
494494
You can’t perform that action at this time.
0 commit comments