compile the modified TypeScript to Javascript

This commit is contained in:
tombolton 2022-06-13 15:35:18 +01:00 committed by Tom Bolton
parent 79d8e4a43d
commit f8f4c0b33e
2 changed files with 5 additions and 2 deletions

5
lib/util.js generated
View file

@ -552,7 +552,10 @@ exports.ML_POWERED_JS_QUERIES_PACK_NAME = "codeql/javascript-experimental-atm-qu
* queries beta.
*/
async function getMlPoweredJsQueriesPack(codeQL) {
if (await codeQlVersionAbove(codeQL, "2.8.4")) {
if (await codeQlVersionAbove(codeQL, "2.9.3")) {
return `${exports.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.3.0`;
}
else if (await codeQlVersionAbove(codeQL, "2.8.4")) {
return `${exports.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.2.0`;
}
return `${exports.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`;

File diff suppressed because one or more lines are too long