Skip to content

Commit 56c6394

Browse files
authored
Always Show Diagnostics with No Location (#55)
1 parent 9b2b54a commit 56c6394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/webview/views/verification/verification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function renderVerificationView(
1010
expandedErrors: Set<number>,
1111
selectedTab: NavTab
1212
): string {
13-
const fileDiagnostics = diagnostics.filter(diagnostic => diagnostic.file?.toLowerCase() === currentFile?.toLowerCase());
13+
const fileDiagnostics = diagnostics.filter(diagnostic => diagnostic.file?.toLowerCase() === currentFile?.toLowerCase() || !diagnostic.file);
1414
const displayDiagnostics = showAll ? diagnostics : fileDiagnostics;
1515
const errors = displayDiagnostics.filter(d => d.category === 'error') as LJError[];
1616
const warnings = displayDiagnostics.filter(d => d.category === 'warning') as LJWarning[];

0 commit comments

Comments
 (0)