Fix the call to 'uniq' in analyze.rb

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2024-05-30 20:58:03 -07:00
parent 8e4759bd2b
commit c17142e648

View File

@ -101,7 +101,7 @@ series.each do |series, files|
edges << { :from => data[file2][:id], :to => data[file1][:id] }
end
end
edges.uniq
edges.uniq!
# edges.filter! { |e| e[:from] < e[:to] }
puts ("export const nodes = " + JSON.pretty_unparse(data.values) + ";")