Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Invalid usage of fs.rmdirSync #8921

Closed
Tracked by #8990
shuse2 opened this issue Sep 1, 2023 · 0 comments
Closed
Tracked by #8990

Invalid usage of fs.rmdirSync #8921

shuse2 opened this issue Sep 1, 2023 · 0 comments
Assignees
Milestone

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Sep 1, 2023

Expected behavior

fs.rm(path, { recursive: true, force: true }) should be used to have the same behavior as rm -rf

Actual behavior

For removing existing file rmdirSync will throw error

Which version(s) does this affect? (Environment, OS, etc...)

release/5.3.0 branch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants