diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 695ab51f36757b..f6103f61c2b786 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3026,6 +3026,9 @@ The [`crypto.Certificate()` constructor][] is deprecated. Use -Type: Runtime +Type: End-of-Life -In future versions of Node.js, `recursive` option will be ignored for -`fs.rmdir`, `fs.rmdirSync`, and `fs.promises.rmdir`. +`recursive` option is ignored for `fs.rmdir`, `fs.rmdirSync`, +and `fs.promises.rmdir`. Use `fs.rm(path, { recursive: true, force: true })`, `fs.rmSync(path, { recursive: true, force: true })` or diff --git a/doc/api/fs.md b/doc/api/fs.md index 78618afa43c4f3..b4d768ed46b7e5 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1575,6 +1575,9 @@ Renames `oldPath` to `newPath`.