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

globby.sync does not return matching paths with pattern has ( symbol #122

Closed
tamvanvo opened this issue Jun 12, 2019 · 1 comment
Closed

Comments

@tamvanvo
Copy link

I want to get the path of files from directory C:\Program Files (x86)\Jenkins\workspace\junit\target\surefire-reports with pattern C:/Program Files (x86)/Jenkins/workspace/junit/target/surefire-reports/**/*.xml, but globby sync return empty array.
I found the cause is the pattern has a ( sympbol, so it didn't find the matching paths.
I also tried to other symbols and it worked well e.g -, _.

@sindresorhus
Copy link
Owner

Duplicate of #81

@sindresorhus sindresorhus marked this as a duplicate of #81 Jun 14, 2019
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