Clear SARIF viewer before showing new results

This commit is contained in:
shati-patel
2022-02-15 12:39:17 +00:00
committed by Shati Patel
parent b53657344c
commit 81f80ddbe5

View File

@@ -239,6 +239,9 @@ export class RemoteQueriesInterfaceManager {
await sarifExt.activate();
}
// Clear any previous results before showing new results
await sarifExt.exports.closeAllLogs();
await sarifExt.exports.openLogs([
Uri.file(filePath),
]);