coderoad/coderoad-cli

Update fs.rmdir() to fs.rm()

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

$ coderoad validate
(node:51737) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)

Describe the solution you'd like

Update to use fs.rm().

Describe alternatives you've considered

N/A

Additional context

Node.js v20.18.2
Git 2.43.0