lib/relaton/cli/relaton_file.rb in relaton-cli-1.7.pre3 vs lib/relaton/cli/relaton_file.rb in relaton-cli-1.7.0

- old
+ new

@@ -148,10 +148,10 @@ mem << bibdata_instance(d, xml[:file]) elsif %w[bibitem bibdata].include? doc&.root&.name mem << bibdata_instance(doc, xml[:file]) else mem end - end + end.uniq &:id end def concatenate_and_write_to_files write_to_file(bibcollection.send(output_type)) end