Skip to content

Commit

Permalink
Autocorrect Rubocop offences
Browse files Browse the repository at this point in the history
  • Loading branch information
timrogers committed Nov 29, 2024
1 parent ec390ff commit c785f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ task :update do
raw_data = URI.open("https://raw.githubusercontent.com/jpatokal/openflights/master/" \
"data/airports.dat").read + File.read("./data/patches.dat")

cleaned_data = raw_data.gsub(/\\"/, '""')
cleaned_data = raw_data.gsub('\"', '""')

cleaned_data = CSV.parse(cleaned_data).each_with_object({}) do |row, accumulator|
iata_code = row[4]
Expand Down

0 comments on commit c785f6a

Please sign in to comment.