-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Ignore pattern doesn't work outside working directory #52
Comments
@Palpie Thanks for reporting, that is a globbing issue (isaacs/node-glob#248). |
Using del(['test/assets/**', '!test/assets', '!test/assets/goat.png'], {
cwd: '/build',
dryRun: true
}) // … |
It works fine with Thanks! |
I am experiencing the same problem, but CWD does not work in my case/ I have the following code:
And also tried:
How can I make it wrong, is there a mistake in the code? |
@kevinmamaqi I ran into the same problem,how did you solve it in the end |
@Ch2x I think a did a shell script at the end. |
When using this:
I get this result:
If I move the same directory structure to outside my working directory and change the del code to:
I get this result:
The text was updated successfully, but these errors were encountered: