path: fix comment grammar

PR-URL: https://github.com/nodejs/node/pull/32942
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
pull/32308/merge
thecodrr 2020-04-20 18:21:17 +05:00 committed by Anna Henningsen
parent 497ad815ae
commit d0377a825b
No known key found for this signature in database
GPG Key ID: A94130F0BFC8EBE9
1 changed files with 3 additions and 3 deletions

View File

@ -385,14 +385,14 @@ const win32 = {
return '.';
// Make sure that the joined path doesn't start with two slashes, because
// normalize() will mistake it for an UNC path then.
// normalize() will mistake it for a UNC path then.
//
// This step is skipped when it is very clear that the user actually
// intended to point at an UNC path. This is assumed when the first
// intended to point at a UNC path. This is assumed when the first
// non-empty string arguments starts with exactly two slashes followed by
// at least one more non-slash character.
//
// Note that for normalize() to treat a path as an UNC path it needs to
// Note that for normalize() to treat a path as a UNC path it needs to
// have at least 2 components, so we don't filter for that here.
// This means that the user can use join to construct UNC paths from
// a server name and a share name; for example: