Skip to content

Commit dde28b6

Browse files
committed
use fspath
1 parent d50a024 commit dde28b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsptoolshost/buildDiagnosticsService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class BuildDiagnosticsService {
5353
}
5454

5555
private compareUri(a: vscode.Uri, b: vscode.Uri): boolean {
56-
return a.path.localeCompare(b.path, undefined, { sensitivity: 'accent' }) === 0;
56+
return a.fsPath.localeCompare(b.fsPath) === 0;
5757
}
5858

5959
public async _onFileOpened(document: vscode.TextDocument, buildOnlyIds: string[]) {

0 commit comments

Comments
 (0)