mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 18:09:43 +00:00
Make externalRepoAuth check more consistent
This commit is contained in:
2
lib/entry-points.js
generated
2
lib/entry-points.js
generated
@@ -170758,7 +170758,7 @@ function makeProxyRequestOptions(dispatcher) {
|
||||
};
|
||||
}
|
||||
function createApiClientWithDetails(apiDetails, { allowExternal = false, proxy = void 0 } = {}) {
|
||||
const auth2 = allowExternal && apiDetails.externalRepoAuth || apiDetails.auth;
|
||||
const auth2 = allowExternal && apiDetails.externalRepoAuth !== void 0 ? apiDetails.externalRepoAuth : apiDetails.auth;
|
||||
const retryingOctokit = githubUtils.GitHub.plugin(retry);
|
||||
const requestOptions = makeProxyRequestOptions(proxy);
|
||||
const opts = {
|
||||
|
||||
Reference in New Issue
Block a user