Skip to content

Commit 70276a6

Browse files
committed
Correct formatter change
1 parent cba088d commit 70276a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export async function downloadFile(titleMsg: string, src: string, dest: string):
254254
inFlightDownloads.set(src, new Map([[dest, downloadTask]]));
255255
}
256256
return await downloadTask;
257-
} catch (e) {
257+
} catch (e: any) {
258258
await promisify(fs.unlink)(downloadDest).catch(ignoreFileNotExists);
259259
throw new Error(`Failed to download ${src}:\n${e.message}`);
260260
}

0 commit comments

Comments
 (0)