From fd878790992902e3f2409b0d818fcf362261810f Mon Sep 17 00:00:00 2001 From: Dustin Campbell Date: Fri, 14 Oct 2016 06:42:36 -0700 Subject: [PATCH] Remove code which was comparing Uri's incorrectly --- src/features/diagnosticsProvider.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/features/diagnosticsProvider.ts b/src/features/diagnosticsProvider.ts index c122de82b..fdfc47cb6 100644 --- a/src/features/diagnosticsProvider.ts +++ b/src/features/diagnosticsProvider.ts @@ -245,13 +245,6 @@ class DiagnosticsProvider extends AbstractSupport { } } - // Clear diagnostics for files that no longer have any diagnostics. - this._diagnostics.forEach((uri, diagnostics) => { - if (!entries.find(tuple => tuple[0] === uri)) { - this._diagnostics.delete(uri); - } - }); - // replace all entries this._diagnostics.set(entries); });