File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
extensions/ql-vscode/src/codeql-cli Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ interface VersionResult {
1111
1212export interface CliFeatures {
1313 queryServerRunQueries ?: boolean ;
14+ bqrsDiffResultSets ?: boolean ;
1415}
1516
1617export interface VersionAndFeatures {
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ interface BqrsDecodeOptions {
211211
212212interface BqrsDiffOptions {
213213 retainResultSets ?: string [ ] ;
214+ resultSets ?: Array < [ string , string ] > ;
214215}
215216
216217type OnLineCallback = ( line : string ) => Promise < string | undefined > ;
@@ -1283,6 +1284,12 @@ export class CodeQLCliServer implements Disposable {
12831284 ...( options ?. retainResultSets
12841285 ? [ "--retain-result-sets" , options . retainResultSets . join ( "," ) ]
12851286 : [ ] ) ,
1287+ ...( options ?. resultSets
1288+ ? options . resultSets . flatMap ( ( [ left , right ] ) => [
1289+ "--result-sets" ,
1290+ `${ left } ,${ right } ` ,
1291+ ] )
1292+ : [ ] ) ,
12861293 bqrsPath1 ,
12871294 bqrsPath2 ,
12881295 ] ,
You can’t perform that action at this time.
0 commit comments