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

@ -1,7 +1,7 @@
# frozen_string_literal: true
Chewy.strategy(:mastodon) do
Dir[Rails.root.join('db', 'seeds', '*.rb')].each do |seed|
Rails.root.glob('db/seeds/*.rb').each do |seed|
load seed
end
end