databaseRunQueries(): add optimizeForLastQueryRun parameter
This commit is contained in:
parent
3095a09bb0
commit
8242edb8ed
9 changed files with 47 additions and 11 deletions
|
|
@ -571,6 +571,15 @@ export function isGoodVersion(versionSpec: string) {
|
|||
return !BROKEN_VERSIONS.includes(versionSpec);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether the CodeQL CLI supports the `--expect-discarded-cache` command-line flag.
|
||||
*/
|
||||
export async function supportExpectDiscardedCache(
|
||||
codeQL: CodeQL
|
||||
): Promise<boolean> {
|
||||
return codeQlVersionAbove(codeQL, "2.12.1");
|
||||
}
|
||||
|
||||
export const ML_POWERED_JS_QUERIES_PACK_NAME =
|
||||
"codeql/javascript-experimental-atm-queries";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue