Fix the call to 'uniq' in analyze.rb
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
8e4759bd2b
commit
c17142e648
|
@ -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) + ";")
|
||||
|
|
Loading…
Reference in New Issue
Block a user