Skip to content

Commit

Permalink
add early return
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Sep 18, 2024
1 parent 543793a commit a81c282
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/fsapp.app/operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ async function fileAction(selected) {
fileSelected.getAttribute("data-path").endsWith(".lib.zip")
) {
anura.files.open(fileSelected.getAttribute("data-path"));
return;
}

if (fileSelected.getAttribute("data-path").endsWith(".zip")) {
Expand Down Expand Up @@ -100,10 +101,6 @@ async function fileAction(selected) {
}
}
const sh = new fs.Shell();
// for (const folder of folders) {
// await sh.promises.mkdirp(root + folder);
// }

for (const file of files) {
const container =
file[0].split("/").slice(0, -1).join("/") + "/";
Expand Down

0 comments on commit a81c282

Please sign in to comment.