Merge branch 'main' into fix-typos

This commit is contained in:
Eric Cornelissen 2020-11-20 14:32:12 +01:00
commit 6aaf0483f0
22 changed files with 166 additions and 155 deletions

View file

@ -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;