diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-10-16 21:06:36 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-10-17 13:10:14 +0900 |
| commit | 908f8fffa2df19fa1b2fbd674149644e61e55e20 (patch) | |
| tree | 6d5fe14ed7fb2ba6302c02f9359b273e9c8e01e2 | |
| parent | c782c6fd4cedd63021afef03385da6ff15d27321 (diff) | |
[rubygems/rubygems] Don't hide original error in `after(:suite)` hook
For some reason, Windows builds are failing quite consistently now.
However, it seems that errors are happening before this directory is
even created, so removal fails, hiding the original error.
Instead, don't let this removal fail due to files not existing.
https://github.com/rubygems/rubygems/commit/7669d6c96e
| -rw-r--r-- | spec/bundler/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/spec_helper.rb b/spec/bundler/spec_helper.rb index 6a7e2891a6..d3a92d84b2 100644 --- a/spec/bundler/spec_helper.rb +++ b/spec/bundler/spec_helper.rb @@ -114,6 +114,6 @@ RSpec.configure do |config| end config.after :suite do - FileUtils.rm_r Spec::Path.pristine_system_gem_path + FileUtils.rm_rf Spec::Path.pristine_system_gem_path end end |
