Skip to content

Commit 561490d

Browse files
format
1 parent 39184f2 commit 561490d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/lib/run.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)