Skip to content

docs: explain why path.posix.normalize does not replace windows slashes

Rodrigo Muino Tomonari requested to merge github/fork/sjlehn/node-12298 into master

Add section to path docs that explains that path.posix.normalize does not replace Windows slashes with POSIX slashes because POSIX does not recognize \ as a valid path separator.

Fixes: https://github.com/nodejs/node/issues/12298

Added a note about directory separator conversion under path.posix.

Checklist
Affected core subsystem(s)

doc

Merge request reports

Loading