Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ignore on Windows #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

06393993
Copy link

@06393993 06393993 commented Jul 8, 2024

fileMatches will receive paths with native path separators(i.e. \ on Windows). Per the doc doublestar.Match doesn't work as expected with \, and filepath.ToSlash() should be used to handle such case.

`fileMatches` will receive paths with native path separators(i.e. `\` on Windows). Per the [doc](https://github.com/bmatcuk/doublestar/tree/v4?tab=readme-ov-file#match) `doublestar.Match` doesn't work as expected with `\`, and `filepath.ToSlash()` should be used to handle such case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant