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

@ -256,7 +256,7 @@ async function runRetryable (fn, maxRetries) {
try {
return await fn();
} catch (error) {
await new Promise((resolve, reject) => setTimeout(resolve, CHECK_INTERVAL));
await new Promise(resolve => setTimeout(resolve, CHECK_INTERVAL));
lastError = error;
}
}