Skip to content

Commit e5493a7

Browse files
committed
Lowercase path in windows
1 parent 01d85ed commit e5493a7

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
@@ -58,7 +58,7 @@ function getComparisonKey(uri: Uri): string {
5858
}
5959

6060
export function normalizePath(fsPath: string): string {
61-
return path.resolve(fsPath);
61+
return path.resolve(isWindows() ? fsPath.toLowerCase() : fsPath);
6262
}
6363

6464
export function getResourceUri(resourcePath: string, root?: string): Uri | undefined {

0 commit comments

Comments
 (0)