Log the version warning a second time if a request fails unexpectedly.

This commit is contained in:
Chris Gavin 2020-11-03 12:53:32 +00:00
parent 5e2fa08dae
commit b16110e60e
No known key found for this signature in database
GPG key ID: 07F950B80C27E4DA
6 changed files with 63 additions and 56 deletions

2
lib/codeql.js generated
View file

@ -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, logger)
.getApiClient(githubAuth, githubUrl, mode, logger, false, true)
.repos.getReleaseByTag({
owner: repositoryOwner,
repo: repositoryName,