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 }}
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
Yes, there used to be a lot of other unix specific permissions bits in there. I think now that we could add windows support pretty easily though. I'll take a patch that allows windows-style absolute paths as well.
The workaround is simple enough in resolvePath function to fix the issue
// Workaround for double root (C:\C:\) issue on Windows
if (path.indexOf(fsOptions.root + fsOptions.root) > -1) {
path = path.substring(fsOptions.root.length);
}
But a larger question is, are pull requests to this project still accepted or is this repo dead/abandoned?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
since you do the check:
if (root[0] !== "/") throw new Error("root path must start in /");
your library is not usable for windows users.
The text was updated successfully, but these errors were encountered: