Remove support for CodeQL CLI 2.9.3 and earlier

This commit is contained in:
Henry Mercer 2023-06-12 11:34:01 +01:00
parent f1c4784a3f
commit 7bd23b58b5
17 changed files with 39 additions and 136 deletions

8
lib/util.js generated
View file

@ -445,14 +445,8 @@ async function getMlPoweredJsQueriesPack(codeQL) {
if (await codeQlVersionAbove(codeQL, "2.11.3")) {
version = "~0.4.0";
}
else if (await codeQlVersionAbove(codeQL, "2.9.3")) {
version = `~0.3.0`;
}
else if (await codeQlVersionAbove(codeQL, "2.8.4")) {
version = `~0.2.0`;
}
else {
version = `~0.1.0`;
version = `~0.3.0`;
}
return (0, config_utils_1.prettyPrintPack)({
name: exports.ML_POWERED_JS_QUERIES_PACK_NAME,