Support features key in version JSON output
This commit is contained in:
parent
3dd4ad872b
commit
74b46628c3
30 changed files with 182 additions and 73 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue