From 35d82af78c1bbd05baa783b3b25f2eb7b48d1848 Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Wed, 9 Sep 2020 10:59:11 -0700 Subject: [PATCH] doc: fix minor punctuation issue in path.md PR-URL: https://github.com/nodejs/node/pull/35127 Reviewed-By: Michael Dawson Reviewed-By: Luigi Pinca Reviewed-By: Derek Lewis Reviewed-By: Trivikram Kamat Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott --- doc/api/path.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/path.md b/doc/api/path.md index 3d94f15eea556e..e78850fb7d2114 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