Skip to content

Commit c682329

Browse files
committed
doc: explain path.format expected properties
doc: limit path.format line to 80 characters doc: path.format remove the
1 parent a53b2ac commit c682329

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/path.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ path.extname('.index')
8888

8989
Returns a path string from an object. This is the opposite of [`path.parse`][].
9090

91-
If `pathObject` has all expected properties, the returned string will be a
92-
concatenation of the `dir` property, the platform-dependent path separator, and
93-
the `base` property.
91+
If `pathObject` has `dir` and `base` properties, the returned string will
92+
be a concatenation of the `dir` property, the platform-dependent path separator,
93+
and the `base` property.
9494

9595
If the `dir` property is not supplied, the `root` property will be used as the
9696
`dir` property. However, it will be assumed that the `root` property already

0 commit comments

Comments
 (0)