Skip to content

Commit def4bb7

Browse files
authored
doc: improve callback params for fs.mkdir
fixes: nodejs#43015 Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com PR-URL: nodejs#43016 Fixes: nodejs#43015 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
1 parent ae5a159 commit def4bb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/fs.md

+2
Original file line numberDiff line numberDiff line change
@@ -3007,6 +3007,8 @@ changes:
30073007
* `mode` {string|integer} Not supported on Windows. **Default:** `0o777`.
30083008
* `callback` {Function}
30093009
* `err` {Error}
3010+
* `path` {string|undefined} Present only if a directory is created with
3011+
`recursive` set to `true`.
30103012
30113013
Asynchronously creates a directory.
30123014

0 commit comments

Comments
 (0)