qfs.root() returns "" on Mac #24

Open
Stuk opened this Issue Feb 6, 2013 · 0 comments

Comments

Projects
None yet
2 participants
@Stuk
Collaborator

Stuk commented Feb 6, 2013

and probably on Linux too.

I think https://github.com/kriskowal/q-io/blob/master/fs-boot.js#L174 is causing the problem

> qfs.split("/a/b/c")
[ '', 'a', 'b', 'c' ]
> qfs.join([ '', 'a', 'b', 'c' ])
"a/b/c"

@ghost ghost assigned kriskowal Mar 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment