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
dir-glob is using path.join() so it will use \\ as join separator in Windows. It would not compatible with micromatch that reserves backslashes for escaping glob characters. https://github.com/micromatch/micromatch/#backslashes
It means that the generated glob pattern may not work correctly in Windows environment.
dir-glob is using
path.join()
so it will use\\
as join separator in Windows. It would not compatible with micromatch that reserves backslashes for escaping glob characters.https://github.com/micromatch/micromatch/#backslashes
It means that the generated glob pattern may not work correctly in Windows environment.
I think we should always use slashes to join path by using
path.posix.join()
, or provide a option to choose how to join.It came from working in the upgrade of fast-glob in globby's PR: sindresorhus/globby#126 (review)
The text was updated successfully, but these errors were encountered: