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: enhance createPathChoices to handle Windows drive listings and non-Windows root directories
- Updated the createPathChoices function to properly handle root paths on Windows by mocking drive detection for C:, D:, and E:.
- Improved handling of non-Windows root directories by mocking readdir for consistent directory listing.
- Added tests to ensure that drive paths do not contain double slashes and match the expected drive format.
- Ensured robust functionality across different platforms with comprehensive test coverage.
0 commit comments