Support features key in version JSON output

This commit is contained in:
Michael B. Gale 2023-10-04 11:28:28 +01:00
parent 3dd4ad872b
commit 74b46628c3
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
30 changed files with 182 additions and 73 deletions

View file

@ -10,6 +10,7 @@ import {
setCodeQL,
getTrapCachingExtractorConfigArgs,
getTrapCachingExtractorConfigArgsForLang,
makeVersionOutput,
} from "./codeql";
import * as configUtils from "./config-utils";
import { Config } from "./config-utils";
@ -26,7 +27,7 @@ setupTests(test);
const stubCodeql = setCodeQL({
async getVersion() {
return "2.10.3";
return makeVersionOutput("2.10.3");
},
async betterResolveLanguages() {
return {