You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to avoid autoreplace \\ in patterns even on Windows #24
Obviously, this is an incorrect parent directory. Yeap, I understand that this is described in the documentation, but I find it difficult to get all users to use the new format. Also I see no reason to change user input inside my package, because it can lead to problems.
Maybe we can add an option to control automatic replacement?
This is definitely something we can look into. How would you feel about adding an options object and an option to disable that? I'm thinking the option makes sense so we can have backwards compatibility but maybe it's time to drop the replacement hack. I'm not sure.
Activity
phated commentedon Sep 5, 2019
This is definitely something we can look into. How would you feel about adding an options object and an option to disable that? I'm thinking the option makes sense so we can have backwards compatibility but maybe it's time to drop the replacement hack. I'm not sure.
mrmlnc commentedon Sep 8, 2019
IMHO, I would prefer to remove this hack (glob patterns by design works only with forward slashes). However, this is a major change for gulp users.
I can create a PR with with these changes (without major changes):
mrmlnc@a326e3b
phated commentedon Sep 12, 2019
@mrmlnc looks great! Please send a PR. I will release a minor version with that change and then we can drop the hack all together in a major.
feat: add `flipBackslashes` option to disable auto conversion of slas…