Merge remote-tracking branch 'upstream/main' into aeisenberg/remove-queries
This commit is contained in:
commit
6db77eec0d
6 changed files with 54 additions and 5 deletions
10
lib/util.js
generated
10
lib/util.js
generated
|
|
@ -553,6 +553,7 @@ exports.ML_POWERED_JS_QUERIES_PACK_NAME = "codeql/javascript-experimental-atm-qu
|
|||
* queries beta.
|
||||
*/
|
||||
async function getMlPoweredJsQueriesPack(codeQL) {
|
||||
<<<<<<< HEAD
|
||||
const version = (await codeQlVersionAbove(codeQL, "2.8.4"))
|
||||
? "~0.2.0"
|
||||
: "~0.1.0";
|
||||
|
|
@ -560,6 +561,15 @@ async function getMlPoweredJsQueriesPack(codeQL) {
|
|||
name: exports.ML_POWERED_JS_QUERIES_PACK_NAME,
|
||||
version,
|
||||
});
|
||||
=======
|
||||
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`;
|
||||
>>>>>>> upstream/main
|
||||
}
|
||||
exports.getMlPoweredJsQueriesPack = getMlPoweredJsQueriesPack;
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue