Skip to content

Commit

Permalink
simplify report. #676
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Nov 26, 2020
1 parent 5f7ea1b commit c510871
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/models/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,6 @@ def self.export_doi_counts(query: nil)
doisMissing: db_total - es_total,
}.values

puts CSV.generate_line(row)

sum << CSV.generate_line(row)
end

Expand All @@ -700,7 +698,7 @@ def self.export_doi_counts(query: nil)

logger.warn "Found #{csv.size} repositories with missing DOIs."

csv.join(",")
csv.join("\n")
end

protected
Expand Down

0 comments on commit c510871

Please sign in to comment.