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

View file

@ -572,7 +572,7 @@ test("databaseInitCluster() without injected codescanning config", async (t) =>
await util.withTmpDir(async (tempDir) => {
const runnerConstructorStub = stubToolRunnerConstructor();
const codeqlObject = await codeql.getCodeQLForTesting();
sinon.stub(codeqlObject, "getVersion").resolves("2.8.1");
sinon.stub(codeqlObject, "getVersion").resolves("2.9.4");
// safeWhich throws because of the test CodeQL object.
sinon.stub(safeWhich, "safeWhich").resolves("");