-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
fs: remove recursive
option from rmdir
#57784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs: remove recursive
option from rmdir
#57784
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #57784 +/- ##
========================================
Coverage 90.24% 90.25%
========================================
Files 630 630
Lines 185245 185136 -109
Branches 36299 36286 -13
========================================
- Hits 167173 167090 -83
+ Misses 11018 10988 -30
- Partials 7054 7058 +4
🚀 New features to boost your workflow:
|
There seem to be a lot of CITGM failures compared to main. |
Closed in favour of #58616 |
oh! I had completely missed this @LiviaMedeiros ! Sorry about that :-*( |
No worries; as long as the change lands, am happy with it. |
This moves DEP0147: fs.rmdir(path, { recursive: true }) to EOL.
The
recursive
option was runtime deprecated since v16.0.0 in favor ofrm()
function. Maybe it is time to remove it.cc @nodejs/fs because fsIssues and PRs related to the fs subsystem / file system.
PRs that contain breaking changes and should be released in the next major version.
cc @nodejs/tsc because semver-major
cc @addaleax because of concerns in the runtime deprecation PR #37302 (comment)