-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
fix: Check negative patterns before trimming #21
base: master
Are you sure you want to change the base?
Conversation
9bc5442
to
575de86
Compare
@@ -31,7 +31,7 @@ | |||
}, | |||
"devDependencies": { | |||
"gulp-format-md": "^2.0.0", | |||
"mocha": "^10.1.0" | |||
"mocha": "^3.0.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been reverted since we didn't drop old node support in the major.
sorry I wasn't feeling well today. I'll take a look tomorrow morning |
No problem. Hope you are feeling better! If you want to fix the write permissions, I'm happy to wrap these up myself. |
Blocking gulpjs/glob-stream#118 |
cc @jonschlinkert @doowb ping |
@jonschlinkert @doowb Hey guys, would it be better if I just fork this and release the stuff that I need? Sorry for being a pain but it is blocking my other work. |
@jonschlinkert checking in here. Do you want to get these merged or should I create a new project? |
For people looking, the fork is available at https://github.com/gulpjs/to-absolute-glob |
While trying to implement this in
glob-stream
, I encountered a problem where my negative patterns weren't matching. I traced it to the./
not being removed in negative globs.This moves the
isNegated
check above the trimming logic so the!
will be removed from the pattern before trimming is attempted.