You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(windows): handle mapped network drives in path resolution and session matching
On Windows, mapped network drives (e.g. Z:\ -> \server\share\) cause two issues:
1. realpathSync() converts drive letter paths to UNC paths, breaking session
lookups that use exact string matching on directory paths
2. realpathSync() can throw non-ENOENT errors (EPERM, network timeouts) on
inaccessible mapped drives, crashing the file listing
Fix by preserving drive letter paths when realpathSync returns UNC, catching
all realpathSync errors on Windows, querying sessions with both drive letter
and UNC path forms, and normalizing paths for case-insensitive comparison in
the frontend project matcher.
0 commit comments