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
On OS X, the path is parsed as if it is a POSIX file name because filenames of the format C:\stuff\otherstuff are valid. Note that it's a single file in that case and the \ characters are part of the filename, not delimiters for parts of the path.
$ touch C:\\i\\love\\node
$ ls C\:\\i\\love\\node C:\i\love\node`
$
\ is a legitimate character in a filename (although you have to escape it to use it):
$ touch \\
$ ls \\\
$
If you know you want Windows behavior, you can use path.win32.parse().
On macOS:
On Windows:
While the Linux-style path is correctly and equally processed across both platform, the Windows path is not.
The text was updated successfully, but these errors were encountered: