Skip to content

Commit 7703ae2

Browse files
format
1 parent 4067caf commit 7703ae2

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/pages/fileBrowser/fileBrowser.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,22 +1073,22 @@ function FileBrowserInclude(mode, info, doesOpenLast = true) {
10731073
console.error("Error checking Terminal installation:", error);
10741074
}
10751075

1076-
try{
1076+
try {
10771077
const terminalPublicUrl = cordova.file.dataDirectory + "public";
10781078

10791079
// Check if this storage is not already in the list
1080-
const terminalPublicStorageExists = allStorages.find(
1081-
(storage) =>
1082-
storage.uuid === "terminal-public" ||
1083-
storage.url === terminalPublicUrl,
1084-
);
1080+
const terminalPublicStorageExists = allStorages.find(
1081+
(storage) =>
1082+
storage.uuid === "terminal-public" ||
1083+
storage.url === terminalPublicUrl,
1084+
);
10851085

1086-
if (!terminalPublicStorageExists) {
1087-
util.pushFolder(allStorages, "Terminal Public", terminalPublicUrl, {
1088-
uuid: "terminal-public",
1089-
});
1090-
}
1091-
}catch(err){
1086+
if (!terminalPublicStorageExists) {
1087+
util.pushFolder(allStorages, "Terminal Public", terminalPublicUrl, {
1088+
uuid: "terminal-public",
1089+
});
1090+
}
1091+
} catch (err) {
10921092
console.error("Error while adding public directory", err);
10931093
}
10941094

0 commit comments

Comments
 (0)