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

2
lib/api-client.js generated
View file

@ -33,7 +33,7 @@ exports.getApiClient = function (githubAuth, githubUrl, mode, logger, allowLocal
throw new Error("Invalid API call in local run");
}
const customOctokit = githubUtils.GitHub.plugin(retry.retry, (octokit, _) => {
octokit.hook.after("request", (response, _) => {
octokit.hook.after("request", (response, __) => {
if (response.status < 400 && !possibleFailureExpected) {
if (hasBeenWarnedAboutVersion) {
return;