From c19d61200762f4d4f7181edc247311307443ea5e 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 cd90cef6168..40bebb873da 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.