Skip to content

Commit a51bd76

Browse files
authored
Skip logging warning for multi-query variant analyses (#3425)
1 parent 1ac92ad commit a51bd76

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

extensions/ql-vscode/src/query-history/query-history-manager.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,11 @@ export class QueryHistoryManager extends DisposableObject {
418418
});
419419
await this.refreshTreeView();
420420
} else {
421+
if (variantAnalysis.queries !== undefined) {
422+
// This is a variant analysis that contains multiple queries, which
423+
// is not fully supported yet. So we ignore it from the query history.
424+
return;
425+
}
421426
void this.app.logger.log(
422427
"Variant analysis status update event received for unknown variant analysis",
423428
);

0 commit comments

Comments
 (0)