Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Commit dbae7f9

Browse files
renovate[bot]renovate-boterezrokah
authored
chore(deps): update dependency @netlify/eslint-config-node to ^4.0.6 (#648)
* chore(deps): update dependency @netlify/eslint-config-node to ^4.0.6 * Update index.js Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Erez Rokah <[email protected]>
1 parent fe1f0e3 commit dbae7f9

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"qs": "^6.9.6"
6767
},
6868
"devDependencies": {
69-
"@netlify/eslint-config-node": "^4.0.5",
69+
"@netlify/eslint-config-node": "^4.0.6",
7070
"ava": "^3.0.0",
7171
"from2-string": "^1.1.0",
7272
"husky": "^4.3.8",

src/methods/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,9 @@ const makeRequestOrRetry = async function ({ url, method, defaultHeaders, agent,
6262
// Using a loop is simpler here
6363
for (let index = 0; index <= MAX_RETRY; index++) {
6464
const optsA = getOpts({ method, defaultHeaders, agent, requestParams, opts })
65-
// eslint-disable-next-line no-await-in-loop
6665
const { response, error } = await makeRequest(url, optsA)
6766

6867
if (shouldRetry({ response, error }) && index !== MAX_RETRY) {
69-
// eslint-disable-next-line no-await-in-loop
7068
await waitForRetry(response)
7169
continue
7270
}

0 commit comments

Comments
 (0)