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
6 changed files with 63 additions and 56 deletions

View File

@@ -188,7 +188,7 @@ async function getCodeQLBundleDownloadURL(
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,