Skip to content

Commit

Permalink
Merge pull request #820 from DustinCampbell/fix-uri-comparison
Browse files Browse the repository at this point in the history
Remove code which was comparing Uri's incorrectly
  • Loading branch information
DustinCampbell authored Oct 14, 2016
2 parents ef47cbe + fd87879 commit 2d3c124
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/features/diagnosticsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 2d3c124

Please sign in to comment.