We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17885a1 commit 8746505Copy full SHA for 8746505
1 file changed
src/utils/http.mts
@@ -293,11 +293,7 @@ async function httpDownloadAttempt(
293
onProgress?: ((downloaded: number, total: number) => void) | undefined
294
} = {},
295
): Promise<CResult<{ path: string; size: number }>> {
296
- const {
297
- headers = {},
298
- onProgress,
299
- timeout = 120000,
300
- } = options
+ const { headers = {}, onProgress, timeout = 120000 } = options
301
302
return await new Promise(resolve => {
303
const parsedUrl = new URL(url)
0 commit comments