Skip to content

Commit 6bd088c

Browse files
Update doc/api/fs.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent c866ac7 commit 6bd088c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎doc/api/fs.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6542,7 +6542,7 @@ changes:
65426542
65436543
* `prefix` {string|Buffer|URL}
65446544
* `options` {string|Object}
6545-
* `encoding` {string} **Default:** `'utf8'`
6545+
* `encoding` {string} **Default:** `'utf8'` (or `'buffer'` if `prefix` is a `Buffer`)
65466546
* Returns: {Object} A disposable object:
65476547
* `path` {string|Buffer} The path of the created directory.
65486548
* `remove` {Function} A function which removes the created directory.

0 commit comments

Comments
 (0)