Skip to content

Commit fbc454d

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/utils/pathUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ function getComparisonKey(uri: Uri): string {
5858
}
5959

6060
export function normalizePath(fsPath: string): string {
61-
return path.resolve(fsPath);
61+
const resolvedPath = path.resolve(fsPath);
62+
return isWindows() ? resolvedPath.toLowerCase() : resolvedPath;
6263
}
6364

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

0 commit comments

Comments
 (0)