Skip to content

Commit

Permalink
path: fix comment grammar
Browse files Browse the repository at this point in the history
PR-URL: #32942
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
  • Loading branch information
thecodrr authored and targos committed May 13, 2020
1 parent e073da0 commit d50fe6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d50fe6c

Please sign in to comment.