diff options
author | David RodrÃguez <[email protected]> | 2025-03-07 21:35:58 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-03-12 18:02:09 +0900 |
commit | 51958bae66df026823fff159dd7513daf74f5727 () | |
tree | ed64dd39d43296210bdf3adf7cffcc718382c176 /spec/bundler/commands/clean_spec.rb | |
parent | f656d34f103d9cc53259239d164ffa86d4117f9c (diff) |
[rubygems/rubygems] Prefer `FileUtils.rm_r` to `FileUtils.rm_rf` for specs
Because it does not swallow errors if it fails to remove the given folders, making issues easier to debug. https://.com/rubygems/rubygems/commit/0db12d7afc
-rw-r--r-- | spec/bundler/commands/clean_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -352,8 +352,8 @@ RSpec.describe "bundle clean" do bundle "install" FileUtils.rm(vendored_gems("bin/myrackup")) - FileUtils.rm_rf(vendored_gems("gems/thin-1.0")) - FileUtils.rm_rf(vendored_gems("gems/myrack-1.0.0")) bundle :clean |