Skip to content

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

Description

@jcandan

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions