Browse Source

docs: fix non-string ignore note in path.resolve

Reviewed-By: Fedor Indutny <fedor@indutny.com>
v0.10.31-release
Jakob Gillich 11 years ago
committed by Fedor Indutny
parent
commit
92518892ec
  1. 2
      doc/api/path.markdown

2
doc/api/path.markdown

@ -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 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 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 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. Another way to think of it is as a sequence of `cd` commands in a shell.

Loading…
Cancel
Save