We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9e93a commit 01d85edCopy full SHA for 01d85ed
src/common/utils/pathUtils.ts
@@ -58,11 +58,7 @@ function getComparisonKey(uri: Uri): string {
58
}
59
60
export function normalizePath(fsPath: string): string {
61
- const path1 = fsPath.replace(/\\/g, '/');
62
- if (isWindows()) {
63
- return path1.toLowerCase();
64
- }
65
- return path1;
+ return path.resolve(fsPath);
66
67
68
export function getResourceUri(resourcePath: string, root?: string): Uri | undefined {
0 commit comments