Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmila Welihinda <amilajack@gmail.com>2020-09-09 20:59:11 +0300
committerRich Trott <rtrott@gmail.com>2020-09-13 16:37:03 +0300
commit35d82af78c1bbd05baa783b3b25f2eb7b48d1848 (patch)
tree019acb2afbbbb787947bba185c87a8aeaa541b7e /doc/api/path.md
parent9d9d2f0cf7163e270df8727bb5a83a53df4336eb (diff)
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>
Diffstat (limited to 'doc/api/path.md')
-rw-r--r--doc/api/path.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/path.md b/doc/api/path.md
index 3d94f15eea5..e78850fb7d2 100644
--- a/doc/api/path.md
+++ b/doc/api/path.md
@@ -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