mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Remove normalizePath from BufferSyncSupport
This commit is contained in:
@@ -147,7 +147,7 @@ export default class BufferSyncSupport {
|
||||
|
||||
this.diagnosticDelayer = new Delayer<any>(300);
|
||||
|
||||
const pathNormalizer = (path: Uri) => this.normalizePath(path);
|
||||
const pathNormalizer = (path: Uri) => this.client.normalizedPath(path);
|
||||
this.syncedBuffers = new SyncedBufferMap(pathNormalizer);
|
||||
this.pendingDiagnostics = new PendingDiagnostics(pathNormalizer);
|
||||
|
||||
@@ -348,8 +348,4 @@ export default class BufferSyncSupport {
|
||||
return this._validateTypeScript;
|
||||
}
|
||||
}
|
||||
|
||||
private normalizePath(path: Uri): string | null {
|
||||
return this.client.normalizedPath(path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user