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
Thanks for reporting @yhatt. It was indeed a regression in the getPath function. I added a check for absolute paths which ignores joining them with cwd.
Hi. I'm using dir-glob through globby in my project.
I found a regression in the case of passing absolute path with
files
option. It works correctly in v2.0.0, but v2.2.1 does not return globbed path.See also RunKit: https://runkit.com/yhatt/5c44923f09b0c40012f808d1
Perhaps it might come from updated
getPath
.dir-glob/index.js
Line 6 in 4fc6c6e
path.join()
returns just concatenated path, and not consider absolute path.Apparently, tests did not cover the case of passing absolute path. I want to work on it.
The text was updated successfully, but these errors were encountered: