mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: fix minor punctuation issue in path.md
PR-URL: https://github.com/nodejs/node/pull/35127 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
12f2934224
commit
99785e48ea
1 file changed
+1
-1
+1
-1
@@ -495,7 +495,7 @@ For instance, given the sequence of path segments: `/foo`, `/bar`, `baz`,
|
||||
calling `path.resolve('/foo', '/bar', 'baz')` would return `/bar/baz`
|
||||
because `'baz'` is not an absolute path but `'/bar' + '/' + 'baz'` is.
|
||||
|
||||
If after processing all given `path` segments an absolute path has not yet
|
||||
If, after processing all given `path` segments, an absolute path has not yet
|
||||
been generated, the current working directory is used.
|
||||
|
||||
The resulting path is normalized and trailing slashes are removed unless the
|
||||
|
||||
Reference in new issue
Block a user