0
0
Fork 0

Fix Rails/RootPathnameMethods cop (#31582)

This commit is contained in:
Matt Jankowski 2024-08-26 03:35:07 -04:00 committed by GitHub
parent 5bcfe8d421
commit bcc4b1078c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@ RSpec.configure do |config|
end
config.after :suite do
FileUtils.rm_rf(Dir[Rails.root.join('spec', 'test_files')])
FileUtils.rm_rf(Rails.root.glob('spec/test_files'))
end
# Use the GitHub Annotations formatter for CI