From d40733d256740ab90952b25ee36096a32c6cbd72 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 fff7ed7e649606..23c70c34c3f0ef 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2887,6 +2887,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.