chore: cleanup unusued variables + enable linting (#38898)

This commit is contained in:
Milan Burda 2023-06-26 11:51:54 +02:00 committed by GitHub
parent e900f6ecc3
commit ef6569b7d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 31 additions and 89 deletions

View file

@ -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;