chore: cleanup unusued variables + enable linting (#38898)
This commit is contained in:
parent
e900f6ecc3
commit
ef6569b7d3
36 changed files with 31 additions and 89 deletions
|
@ -50,7 +50,7 @@ async function downloadWithRetry (url, directory) {
|
|||
return await downloadFile(downloadURL, directory);
|
||||
} catch (err) {
|
||||
lastError = err;
|
||||
await new Promise((resolve, reject) => setTimeout(resolve, 30000));
|
||||
await new Promise(resolve => setTimeout(resolve, 30000));
|
||||
}
|
||||
}
|
||||
throw lastError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue