mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
Minor fix
This commit is contained in:
@@ -372,9 +372,6 @@ export async function download_task(
|
||||
pr.addEventListener("progress", (e) => {
|
||||
m.set_details_downloaded(i.index, e.detail);
|
||||
});
|
||||
pr.addEventListener("finished", () => {
|
||||
m.remove_details(i.index);
|
||||
});
|
||||
try {
|
||||
const f = await Deno.open(path, {
|
||||
create: true,
|
||||
@@ -426,6 +423,7 @@ export async function download_task(
|
||||
}
|
||||
}
|
||||
}
|
||||
m.remove_details(i.index);
|
||||
}
|
||||
const errors: unknown[] = [];
|
||||
function try_download(a: number) {
|
||||
|
||||
Reference in New Issue
Block a user