From 75542d2224bb00261573724e02747fe1eca52ea9 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Sun, 22 May 2022 20:04:45 +0900 Subject: [PATCH] doc: improve callback params for `fs.mkdir` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes: https://github.com/nodejs/node/issues/43015 Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com PR-URL: https://github.com/nodejs/node/pull/43016 Fixes: https://github.com/nodejs/node/issues/43015 Reviewed-By: Luigi Pinca Reviewed-By: Antoine du Hamel Reviewed-By: Darshan Sen Reviewed-By: Akhil Marsonya Reviewed-By: Tobias Nießen Reviewed-By: Zeyu "Alex" Yang --- doc/api/fs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/fs.md b/doc/api/fs.md index cd90cef6168368..40bebb873da2a1 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2822,6 +2822,8 @@ changes: * `mode` {string|integer} Not supported on Windows. **Default:** `0o777`. * `callback` {Function} * `err` {Error} + * `path` {string|undefined} Present only if a directory is created with + `recursive` set to `true`. Asynchronously creates a directory.