Skip to content

Commit d50fe6c

Browse files
thecodrrtargos
authored andcommitted
path: fix comment grammar
PR-URL: #32942 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host>
1 parent e073da0 commit d50fe6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/path.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,14 +385,14 @@ const win32 = {
385385
return '.';
386386

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

0 commit comments

Comments
 (0)