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 directory contains spaces. The file cannot be found #241

Open
tidys opened this issue Dec 3, 2022 · 2 comments
Open

The directory contains spaces. The file cannot be found #241

tidys opened this issue Dec 3, 2022 · 2 comments

Comments

@tidys
Copy link

tidys commented Dec 3, 2022

I use '11.0.0', and there is a txt under the directory

const ret = globby.sync('D:/Program Files (x86)/1/*.txt');
console.log(ret)

The result is that we can't find it. We trace the underlying code and find that there is a problem with regular matching

Another problem is that the directory partition must be /. Windows\\will also result in empty results

@brentonhouse
Copy link

any update on this?

@tidys
Copy link
Author

tidys commented Sep 21, 2023

Due to a change in API writing, I had to choose version 11.0.0, which I did not attempt

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

No branches or pull requests

2 participants