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
The documented posixSlashes (or outdated unixify) options do nothing.
The only way the docs provide a way not to convert the backslashes into forward slashes is by providing a custom format function.
But that is awkward to use as the docs discourage replacing backslashes with forward slashes explicitly.
What should be happening?
Remove any mentions to posixSlashes and unixify in the docs
Add docs for the windows option
This issue has come up twice on picomatch and there is even a commit that fixes it micromatch/picomatch@dbe5d92, however it seems not to be included in the master branch.
I lost an hour debugging this thinking there was something wrong at my end, and it's all the more strange that the picomatch changelog mentions a switch from unixify to windows since 2019 (!) but nothing about posixSlashes?
FWIW I thought posixSlashes was a much more declarative name for the option.
PS: there's a typo in the examples under posixSlashes that says require ('picomatch')
The text was updated successfully, but these errors were encountered:
The documented posixSlashes (or outdated unixify) options do nothing.
The only way the docs provide a way not to convert the backslashes into forward slashes is by providing a custom
format
function.But that is awkward to use as the docs discourage replacing backslashes with forward slashes explicitly.
What should be happening?
posixSlashes
andunixify
in the docswindows
optionThis issue has come up twice on picomatch and there is even a commit that fixes it
micromatch/picomatch@dbe5d92, however it seems not to be included in the master branch.
I lost an hour debugging this thinking there was something wrong at my end, and it's all the more strange that the picomatch changelog mentions a switch from
unixify
towindows
since 2019 (!) but nothing about posixSlashes?FWIW I thought posixSlashes was a much more declarative name for the option.
PS: there's a typo in the examples under posixSlashes that says
require ('picomatch')
The text was updated successfully, but these errors were encountered: