Skip to content

Commit 2d3c124

Browse files
Merge pull request #820 from DustinCampbell/fix-uri-comparison
Remove code which was comparing Uri's incorrectly
2 parents ef47cbe + fd87879 commit 2d3c124

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/features/diagnosticsProvider.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,6 @@ class DiagnosticsProvider extends AbstractSupport {
245245
}
246246
}
247247

248-
// Clear diagnostics for files that no longer have any diagnostics.
249-
this._diagnostics.forEach((uri, diagnostics) => {
250-
if (!entries.find(tuple => tuple[0] === uri)) {
251-
this._diagnostics.delete(uri);
252-
}
253-
});
254-
255248
// replace all entries
256249
this._diagnostics.set(entries);
257250
});

0 commit comments

Comments
 (0)