Skip to content

Commit fbb3a8c

Browse files
committed
fix casing edge case
1 parent 1594daa commit fbb3a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/utils/pathUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function isEqual(uri1: Uri | undefined, uri2: Uri | undefined): boolean {
5151
function getComparisonKey(uri: Uri): string {
5252
return uri
5353
.with({
54-
path: uri.path.toLowerCase(),
54+
path: isWindows() ? uri.path.toLowerCase() : uri.path,
5555
fragment: undefined,
5656
})
5757
.toString();

0 commit comments

Comments
 (0)