unjs / pathe

🛣️ Drop-in replacement of the Node.js's path module module that ensures paths are normalized

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate slashes with `join`

pi0 opened this issue · comments

Repro (pathe: 0.3.0)

require('pathe').join('/', 'foo.js') // "//foo.js"