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: support case-insensitive file matching on Windows
On Windows, file paths are case-insensitive, so pattern matching should
be case-insensitive as well. This fix normalizes both patterns and paths
to lowercase on Windows before matching, while maintaining case-sensitive
behavior on Unix systems.
Changes:
- Convert patterns to lowercase during normalization on Windows
- Convert normalized paths to lowercase before matching on Windows
- Use conditional compilation (#[cfg(target_os = "windows")])
- Add #[cfg_attr] to silence unused_mut warnings on non-Windows
Fixes the test_case_insensitivity_windows test failure.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments