When downloading the CodeQL bundle, only use the GitHub AE endpoint on GitHub AE, and check it first.
This commit is contained in:
parent
bde489c632
commit
bb51ece0b4
15 changed files with 191 additions and 78 deletions
|
|
@ -167,9 +167,7 @@ program
|
|||
};
|
||||
|
||||
const gitHubVersion = await getGitHubVersion(apiDetails);
|
||||
if (gitHubVersion !== undefined) {
|
||||
checkGitHubVersionInRange(gitHubVersion, "runner", logger);
|
||||
}
|
||||
checkGitHubVersionInRange(gitHubVersion, "runner", logger);
|
||||
|
||||
let codeql: CodeQL;
|
||||
if (cmd.codeqlPath !== undefined) {
|
||||
|
|
@ -182,6 +180,7 @@ program
|
|||
tempDir,
|
||||
toolsDir,
|
||||
"runner",
|
||||
gitHubVersion.type,
|
||||
logger
|
||||
)
|
||||
).codeql;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue