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
Commit 5f57697
Browse filesBrowse the repository at this point in the historyBrowse files
When removing any path that has `..` or `.` as path portions, call
`path.normalize` on the path before attempting to process it.
When removing the path `''`, throw a `stat ENOENT` error.
When removing `.`, replace with `process.cwd()` and proceed as normal.
Also, add support for deleting `file:` URLs and Buffer paths, which are
normalized to `string` for the benefit of older Node versions.
Glob patterns must still be normal `string` values.
This mirrors the behavior of node, once nodejs/node#61968 lands.
Closes: #342Fixes: #326
Re: nodejs/node#61958
Credit: @abhu85, @RajeshKumar11, @isaacs
0 commit comments