Actions
Feature #9260
closedmake FileUtils.rm_rf raise on errors
Status:
Closed
Assignee:
-
Target version:
-
Description
I did have read that "force" flag ignores StandardError,
but it was unexpected for me because of linux's "rm -rf" fails if it can't delete.
"rm --help" says "-f ignore nonexistent files"
Imho it sounds better than just ignore all errors
Why isn't it done this way?
Updated by hsbt (Hiroshi SHIBATA) about 2 years ago
- Related to Feature #18784: `FileUtils.rm_f` and `FileUtils.rm_rf` should not mask exceptions added
Updated by hsbt (Hiroshi SHIBATA) about 2 years ago
- Status changed from Open to Closed
We continue to discuss this to https://bugs.ruby-lang.org/issues/18784.
Actions
Like0
Like0Like0