mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 13:38:12 -08:00
chore: get cleaner running
This commit is contained in:
parent
4874c2c88c
commit
da99e220c1
5 changed files with 105 additions and 67 deletions
|
|
@ -14,6 +14,7 @@ module Dashboard
|
|||
Dir.glob(Rails.root.join(input_filepath, "*.csv")).each do |filepath|
|
||||
puts filepath
|
||||
File.open(filepath) do |file|
|
||||
puts "opening file"
|
||||
processed_data = process_raw_file(file:)
|
||||
processed_data in [headers, clean_csv, log_csv, data]
|
||||
return if data.empty?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue