fix(vscode): normalize status path comparison (#3322)

Closes #3308. Thanks for fixing the misleading Windows status diagnostic and adding the focused regression tests.
This commit is contained in:
pttydou
2026-09-05 02:13:54 +03:00
committed by GitHub
parent 188c7aa369
commit ed987a576d
3 changed files with 31 additions and 1 deletions
+3
View File
@@ -7,3 +7,6 @@
*/
export const normalizeWindowsDriveLetter = (p: string): string =>
p.replace(/^([a-z]):/, (_, letter: string) => letter.toUpperCase() + ':');
export const pathsEqualWithNormalizedDriveLetter = (left: string, right: string): boolean =>
normalizeWindowsDriveLetter(left) === normalizeWindowsDriveLetter(right);