Skip to content

Commit

Permalink
Fix no shadow issues in api-client.ts
Browse files Browse the repository at this point in the history
Duplicate use of "_" placeholder argument name. This change may conflict
with #192.
  • Loading branch information
Eric Cornelissen committed Nov 19, 2020
1 parent 22f779c commit b54c2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>, _) => {
octokit.hook.after("request", (response: OctokitResponse<any>, __) => {
if (response.status < 400 && !possibleFailureExpected) {
if (hasBeenWarnedAboutVersion) {
return;
Expand Down

0 comments on commit b54c2aa

Please sign in to comment.