docs: fix non-string ignore note in path.resolve
Reviewed-By: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
parent
4f2b08c523
commit
92518892ec
@ -47,7 +47,7 @@ If `to` isn't already absolute `from` arguments are prepended in right to left
|
||||
order, until an absolute path is found. If after using all `from` paths still
|
||||
no absolute path is found, the current working directory is used as well. The
|
||||
resulting path is normalized, and trailing slashes are removed unless the path
|
||||
gets resolved to the root directory. Non-string arguments are ignored.
|
||||
gets resolved to the root directory. Non-string `from` arguments are ignored.
|
||||
|
||||
Another way to think of it is as a sequence of `cd` commands in a shell.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user