Skip to content

Commit 9125191

Browse files
committed
simplify
1 parent 1b9d83d commit 9125191

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/common/utils/pathUtils.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,12 @@ function isEqual(uri1: Uri | undefined, uri2: Uri | undefined): boolean {
4949
function getComparisonKey(uri: Uri): string {
5050
return uri
5151
.with({
52-
path: ignorePathCasing(uri) ? uri.path.toLowerCase() : undefined,
52+
path: uri.path.toLowerCase(),
5353
fragment: undefined,
5454
})
5555
.toString();
5656
}
5757

58-
function ignorePathCasing(_uri: Uri): boolean {
59-
return true;
60-
}
61-
6258
export function normalizePath(path: string): string {
6359
const path1 = path.replace(/\\/g, '/');
6460
if (isWindows()) {

0 commit comments

Comments
 (0)