Pass a logger in to getApiClient() rather than constructing one there.
This commit is contained in:
parent
1f7bae7ab8
commit
865b4bd832
12 changed files with 29 additions and 27 deletions
2
lib/codeql.js
generated
2
lib/codeql.js
generated
|
|
@ -88,7 +88,7 @@ async function getCodeQLBundleDownloadURL(githubAuth, githubUrl, mode, logger) {
|
|||
const [repositoryOwner, repositoryName] = repository.split("/");
|
||||
try {
|
||||
const release = await api
|
||||
.getApiClient(githubAuth, githubUrl, mode)
|
||||
.getApiClient(githubAuth, githubUrl, mode, logger)
|
||||
.repos.getReleaseByTag({
|
||||
owner: repositoryOwner,
|
||||
repo: repositoryName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue