Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-Authored-By: Gaelan <gbs@canishe.com>
  • Loading branch information
Trott and Gaelan authored Apr 30, 2019
commit 26733fcf406e64de7a1bb400b875b883a7bc561c
8 changes: 4 additions & 4 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2206,8 +2206,8 @@ are given to the completion callback.

The optional `options` argument can be an integer specifying mode (permission
and sticky bits), or an object with a `mode` property and a `recursive`
property indicating whether parent folders should be created. Calling `fs.mkdir`
with a path to a directory that exists results in an error an error only
property indicating whether parent folders should be created. Calling `fs.mkdir()`
when `path` is a directory that exists results in an error only
when `recursive` is false.

```js
Expand Down Expand Up @@ -4290,8 +4290,8 @@ arguments upon success.

The optional `options` argument can be an integer specifying mode (permission
and sticky bits), or an object with a `mode` property and a `recursive`
property indicating whether parent folders should be created. Calling `fs.mkdir`
with a path to a directory that exists results in an error an error only
property indicating whether parent folders should be created. Calling `fsPromises.mkdir()`
when `path` is a directory that exists results in an error only
when `recursive` is false.

### fsPromises.mkdtemp(prefix[, options])
Expand Down