Skip to content

Commit

Permalink
Make entries a Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 committed Jun 17, 2024
1 parent 86c4c69 commit f0d50df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_regions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def self.fetch(uri)
used_regions.push(id)

used_categories = {}
entries.each_value do |entry|
entries.to_h.each_value do |entry|
entry_regions = entry['regions']
unless entry_regions.nil?
included = entry_regions.reject { |r| r.start_with?('-') }
Expand Down

0 comments on commit f0d50df

Please sign in to comment.