globby
globby copied to clipboard
The directory contains spaces. The file cannot be found
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
any update on this?
Due to a change in API writing, I had to choose version 11.0.0, which I did not attempt