Revert "Bump default CodeQL version to 2.7.3"

This commit is contained in:
Andrew Eisenberg 2021-12-08 10:07:10 -08:00 committed by GitHub
parent eebe7c46f1
commit a8cf6f42c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 30 deletions

13
lib/codeql.js generated
View file

@ -461,18 +461,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
"-Dhttp.keepAlive=false",
"-Dmaven.wagon.http.pool=false",
].join(" ");
const runnerExecutable = process.env["CODEQL_RUNNER"] || "";
// On Mac, prefixing with the runner executable is required to handle System Integrity Protection.
if (runnerExecutable) {
// Earlier steps (init) are expected to have written the runner executable path
// to the tracing environment, and the current step is expected to have
// correctly loaded that environment.
await runTool(runnerExecutable, [autobuildCmd]);
}
else {
// Fallback in case CODEQL_RUNNER wasn't correctly set or loaded.
await runTool(autobuildCmd);
}
await runTool(autobuildCmd);
},
async extractScannedLanguage(databasePath, language) {
// Get extractor location