diff --git a/app/models/client.rb b/app/models/client.rb index fc5232a07..d7ed71c5e 100644 --- a/app/models/client.rb +++ b/app/models/client.rb @@ -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 @@ -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