Skip to content

Commit

Permalink
Rubocop fixes, remove duplicate migration
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-illi committed Nov 22, 2024
1 parent 7b04cad commit 8e21c1d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/domain/sac_imports/csv_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def add_row(row)
end

def log(line)
puts(line)
@output.puts(line)
File.write(log_file_path, "#{line}\n", mode: "a")
end

Expand Down
2 changes: 1 addition & 1 deletion app/domain/sac_imports/csv_source/nav2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def active?
def terminated?
return false if valid_until.blank?

REFERENCE_DATE > Date.parse(valid_until)
Date.parse(valid_until) < REFERENCE_DATE
end
end
end
5 changes: 0 additions & 5 deletions db/migrate/20241104211910_add_family_id_to_roles.rb

This file was deleted.

0 comments on commit 8e21c1d

Please sign in to comment.