mirror of https://github.com/nodejs/node.git
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
parent
497ad815ae
commit
d0377a825b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue