diff --git a/src/cdn/downloadWrapper.ts b/src/cdn/downloadWrapper.ts index 2b1d1cb..f47866b 100644 --- a/src/cdn/downloadWrapper.ts +++ b/src/cdn/downloadWrapper.ts @@ -24,7 +24,7 @@ export default async function downloadWrapper({ host, path, size, useCurl = fals //Download either via curl or natively with Node if (useCurl) { //Try up to three times - for (let i = 0; i < 3; i += 3) { + for (let i = 0; i < 3; i += 1) { try { const downloadResult = await downloadWithCurl({ host, path, tempFileName }); return downloadResult;