File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
extensions/typescript-language-features/src/features Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 3
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
4
*--------------------------------------------------------------------------------------------*/
5
5
6
- import * as fs from 'fs' ;
7
6
import * as vscode from 'vscode' ;
8
7
import * as Proto from '../protocol' ;
9
8
import { ITypeScriptServiceClient } from '../typescriptService' ;
@@ -266,10 +265,8 @@ export default class BufferSyncSupport extends Disposable {
266
265
this . pendingDiagnostics . delete ( resource ) ;
267
266
this . syncedBuffers . delete ( resource ) ;
268
267
syncedBuffer . close ( ) ;
269
- if ( ! fs . existsSync ( resource . fsPath ) ) {
270
- this . _onDelete . fire ( resource ) ;
271
- this . requestAllDiagnostics ( ) ;
272
- }
268
+ this . _onDelete . fire ( resource ) ;
269
+ this . requestAllDiagnostics ( ) ;
273
270
}
274
271
275
272
public interuptGetErr < R > ( f : ( ) => R ) : R {
You can’t perform that action at this time.
0 commit comments