Log a warning if the API version is not supported.

This commit is contained in:
Chris Gavin
2020-10-26 22:58:05 +00:00
parent 46110c361b
commit 1220ae5bfd
34 changed files with 369 additions and 61 deletions

View File

@@ -188,7 +188,7 @@ async function getCodeQLBundleDownloadURL(
const [repositoryOwner, repositoryName] = repository.split("/");
try {
const release = await api
.getApiClient(githubAuth, githubUrl)
.getApiClient(githubAuth, githubUrl, mode)
.repos.getReleaseByTag({
owner: repositoryOwner,
repo: repositoryName,