-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
path.normalize not work well with windows style path on linux platform #4564
Comments
Do you know before calling |
You can already access platform-specific |
Yes, Unfortunately, I run a 0.10.30 version node. that not important, I have change my code to fix this failing. : ) I think path.normalize should be more "smarter". There are no need use |
Because on UNIX the backslash is a valid character inside a path component, i.e., it's not a separator. On Windows, the forward slash and the backward slash are both separators. Closing, not a bug. |
Hi, I have a test case of normalize a windows style "path string" on linux platform.
on linux
but on windows
The questions are:
The text was updated successfully, but these errors were encountered: