mirror of
https://github.com/github/codeql-action.git
synced 2026-05-03 04:10:10 +00:00
Run version ~0.2.0 of the ML-powered query pack for v2.8.4+ of the CLI
This commit is contained in:
+4
-2
@@ -661,9 +661,11 @@ export const ML_POWERED_JS_QUERIES_PACK_NAME =
|
||||
* queries beta.
|
||||
*/
|
||||
export async function getMlPoweredJsQueriesPack(
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
_codeQL: CodeQL
|
||||
codeQL: CodeQL
|
||||
): Promise<PackWithVersion> {
|
||||
if (await codeQlVersionAbove(codeQL, "2.8.4")) {
|
||||
return { packName: ML_POWERED_JS_QUERIES_PACK_NAME, version: "~0.2.0" };
|
||||
}
|
||||
return { packName: ML_POWERED_JS_QUERIES_PACK_NAME, version: "~0.1.0" };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user