Skip to content

Commit 796b998

Browse files
committed
Fix BetterResolveLanguagesOutput
This commit fixes the BetterResolveLanguagesOutput interface, which currently defines the `extractors` map values as tuples: [ { extractor_root: string; ... }, ] Instead of arrays (which are what the CodeQL CLI produces): Array<{ extractor_root: string; ... }>
1 parent dc74db4 commit 796b998

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/codeql.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,10 @@ export interface BetterResolveLanguagesOutput {
237237
[alias: string]: string;
238238
};
239239
extractors: {
240-
[language: string]: [
241-
{
242-
extractor_root: string;
243-
extractor_options?: any;
244-
},
245-
];
240+
[language: string]: Array<{
241+
extractor_root: string;
242+
extractor_options?: any;
243+
}>;
246244
};
247245
}
248246

0 commit comments

Comments
 (0)