Skip to content

Commit

Permalink
only on single file
Browse files Browse the repository at this point in the history
  • Loading branch information
rayman2000 committed Apr 2, 2024
1 parent 2e33a27 commit 8161642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,11 @@ function removeDiagnostics(activeFileOnly: boolean): void {
if (vscode.window.activeTextEditor) {
const uri = vscode.window.activeTextEditor.document.uri;
State.diagnosticCollection.delete(uri);
State.hideViperStatusBarItems()
Log.log(`Diagnostics successfully removed for file ${uri}`, LogLevel.Debug);
}
} else {
State.diagnosticCollection.clear();
Log.log(`All diagnostics successfully removed`, LogLevel.Debug);
}
State.hideViperStatusBarItems()
}

0 comments on commit 8161642

Please sign in to comment.