mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 01:49:43 +00:00
Support features key in version JSON output
This commit is contained in:
@@ -208,10 +208,10 @@ export function mockLanguagesInRepo(languages: string[]) {
|
||||
return listLanguages;
|
||||
}
|
||||
|
||||
export function mockCodeQLVersion(version) {
|
||||
export function mockCodeQLVersion(version: string) {
|
||||
return {
|
||||
async getVersion() {
|
||||
return version;
|
||||
return CodeQL.makeVersionOutput(version);
|
||||
},
|
||||
} as CodeQL.CodeQL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user