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

The ** globstar isn't matching recursive folders #68

Closed
nschonni opened this issue Nov 25, 2018 · 4 comments
Closed

The ** globstar isn't matching recursive folders #68

nschonni opened this issue Nov 25, 2018 · 4 comments

Comments

@nschonni
Copy link
Collaborator

Usually **/*.md would match root/foo.md and also root/subfolder/bar.md, but it seems like somewhere the noglobstar option is being set so it only matches a single folder level

@nschonni
Copy link
Collaborator Author

I've found that sometimes the somefolder/**/*.md is working for the recursive lookup, but apparently not the plain **/*.md

@nschonni
Copy link
Collaborator Author

Not sure why, but I found the fix is to quote the glob path. EX: cspell "**/*.md" works, but cspell **/*.md isn't

@Jason3S
Copy link
Collaborator

Jason3S commented May 13, 2019

That is because the shell expands the glob. When you put quotes around, cspell will expand the glob.

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants