Autofix Rubocop Rails/RootPathnameMethods (#23760)
This commit is contained in:
parent
48aeab90f6
commit
8fd3fc404d
8 changed files with 10 additions and 22 deletions
|
@ -69,7 +69,7 @@ namespace :emojis do
|
|||
end
|
||||
end
|
||||
|
||||
existence_maps = grouped_codes.map { |c| c.index_with { |cc| File.exist?(Rails.public_path.join('emoji', "#{codepoints_to_filename(cc)}.svg")) } }
|
||||
existence_maps = grouped_codes.map { |c| c.index_with { |cc| Rails.public_path.join('emoji', "#{codepoints_to_filename(cc)}.svg").exist? } }
|
||||
map = {}
|
||||
|
||||
existence_maps.each do |group|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue