Skip to content

Commit d152705

Browse files
Trotttargos
authored andcommitted
doc: implement minor text fixes to path.md
posix -> POSIX platform specific -> platform-specific PR-URL: #24118 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
1 parent 9c15124 commit d152705

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/path.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ added: v0.1.16
288288
* Returns: {string}
289289

290290
The `path.join()` method joins all given `path` segments together using the
291-
platform specific separator as a delimiter, then normalizes the resulting path.
291+
platform-specific separator as a delimiter, then normalizes the resulting path.
292292

293293
Zero-length `path` segments are ignored. If the joined path string is a
294294
zero-length string then `'.'` will be returned, representing the current
@@ -317,7 +317,7 @@ The `path.normalize()` method normalizes the given `path`, resolving `'..'` and
317317

318318
When multiple, sequential path segment separation characters are found (e.g.
319319
`/` on POSIX and either `\` or `/` on Windows), they are replaced by a single
320-
instance of the platform specific path segment separator (`/` on POSIX and
320+
instance of the platform-specific path segment separator (`/` on POSIX and
321321
`\` on Windows). Trailing separators are preserved.
322322

323323
If the `path` is a zero-length string, `'.'` is returned, representing the
@@ -543,7 +543,7 @@ On Windows systems only, returns an equivalent [namespace-prefixed path][] for
543543
the given `path`. If `path` is not a string, `path` will be returned without
544544
modifications.
545545

546-
This method is meaningful only on Windows system. On posix systems, the
546+
This method is meaningful only on Windows system. On POSIX systems, the
547547
method is non-operational and always returns `path` without modifications.
548548

549549
## path.win32

0 commit comments

Comments
 (0)