lib/metasploit/credential/entity_relationship_diagram.rb in metasploit-credential-4.0.1 vs lib/metasploit/credential/entity_relationship_diagram.rb in metasploit-credential-4.0.2

- old
+ new

@@ -123,10 +123,10 @@ # Set of largest clusters from {cluster_by_class}. # # @return [Array<Set<Class<ApplicationRecord>>>] def self.maximal_clusters clusters = cluster_by_class.values - unique_clusters = clusters.distinct + unique_clusters = clusters.uniq maximal_clusters = unique_clusters.dup cluster_queue = unique_clusters.dup until cluster_queue.empty?