[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
This commit is contained in:
David Rodríguez 2023-10-16 21:06:36 +02:00 коммит произвёл Hiroshi SHIBATA
Родитель c782c6fd4c
Коммит 908f8fffa2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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