mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 19:59:37 +00:00
Remove extra check
This is already handled by using a resource map
This commit is contained in:
@@ -357,9 +357,7 @@ export default class BufferSyncSupport extends Disposable {
|
||||
|
||||
// Add all open TS buffers to the geterr request. They might be visible
|
||||
for (const buffer of this.syncedBuffers.values) {
|
||||
if (!this.pendingDiagnostics.has(buffer.resource)) {
|
||||
orderedFileSet.set(buffer.resource, void 0);
|
||||
}
|
||||
orderedFileSet.set(buffer.resource, void 0);
|
||||
}
|
||||
|
||||
if (orderedFileSet.size) {
|
||||
|
||||
Reference in New Issue
Block a user