style: lint

This commit is contained in:
手瓜一十雪 committed 2024-09-17 13:15:12 +08:00
1 parent 406deac592
commit 1a67a001c5
8 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ async function tryDownload(options: string | HttpDownloadOptions, useReferer: bo
}
if (useReferer && !headers['Referer']) {
headers['Referer'] = url;
};
}
const fetchRes = await fetch(url, { headers }).catch((err) => {
if (err.cause) {
throw err.cause;