File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -361,6 +361,14 @@ instance of the platform-specific path segment separator (`/` on POSIX and
361361If the ` path ` is a zero-length string, ` '.' ` is returned, representing the
362362current working directory.
363363
364+ On POSIX, the types of normalization applied by this function do not strictly
365+ adhere to the POSIX specification. For example, this function will replace two
366+ leading forward slashes with a single slash as if it was a regular absolute
367+ path, whereas a few POSIX systems assign special meaning to paths beginning with
368+ exactly two forward slashes. Similarly, other substitutions performed by this
369+ function, such as removing ` .. ` segments, may change how the underlying system
370+ resolves the path.
371+
364372For example, on POSIX:
365373
366374``` js
You can’t perform that action at this time.
0 commit comments