Fix no shadow issues in api-client.ts
Duplicate use of "_" placeholder argument name. This change may conflict with #192.
This commit is contained in:
parent
22f779c5e6
commit
b54c2aab11
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue