diff --git a/doc/api/fs.md b/doc/api/fs.md index 1783220bf0b7e5..2f9dea37f3fd7f 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2632,6 +2632,8 @@ Asynchronously creates a directory. The callback is given a possible exception and, if `recursive` is `true`, the first directory path created, `(err, [path])`. +`path` can still be `undefined` when `recursive` is `true`, if no directory was +created. The optional `options` argument can be an integer specifying `mode` (permission and sticky bits), or an object with a `mode` property and a `recursive`