mirror of https://github.com/mastodon/mastodon
Fix `Rails/RootPathnameMethods` cop (#31582)
parent
5bcfe8d421
commit
bcc4b1078c
@ -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
|
||||
|
Loading…
Reference in New Issue