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:
Amila Welihinda authored and Ruy Adorno committed 2020-09-17 10:36:43 -04:00
1 parent 12f2934224
commit 99785e48ea
1 file changed
+1 -1
+1 -1
View File
@@ -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