Skip an API call when downloading a CodeQL version with a semver bundle
Previously, we made an API call to look up the CLI version to release mapping when the default CLI version was requested on Dotcom and that CLI wasn't in the toolcache. Now we compute the tag name directly for semver bundles.
This commit is contained in:
parent
84c057931e
commit
6418c5d819
12 changed files with 86 additions and 20 deletions
|
|
@ -411,7 +411,7 @@ export async function getCodeQLSource(
|
|||
} else {
|
||||
// Otherwise, use the default CLI version passed in.
|
||||
cliVersion = defaultCliVersion.cliVersion;
|
||||
tagName = defaultCliVersion["tagName"];
|
||||
tagName = defaultCliVersion.tagName;
|
||||
}
|
||||
|
||||
const bundleVersion =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue