From b54c2aab1184a6b0fea371a461ee50af5dc35771 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Thu, 19 Nov 2020 22:42:13 +0100 Subject: [PATCH] Fix no shadow issues in api-client.ts Duplicate use of "_" placeholder argument name. This change may conflict with #192. --- src/api-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api-client.ts b/src/api-client.ts index 0ed6c3d68..458323a57 100644 --- a/src/api-client.ts +++ b/src/api-client.ts @@ -34,7 +34,7 @@ export const getApiClient = function ( throw new Error("Invalid API call in local run"); } const customOctokit = githubUtils.GitHub.plugin(retry.retry, (octokit, _) => { - octokit.hook.after("request", (response: OctokitResponse, _) => { + octokit.hook.after("request", (response: OctokitResponse, __) => { if (response.status < 400 && !possibleFailureExpected) { if (hasBeenWarnedAboutVersion) { return;