Skip to content

Commit 188ab2d

Browse files
committed
Remove redundant cop disable directive
1 parent 98cf7c8 commit 188ab2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/spoom/poset.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def to_dot(direct: true, transitive: true)
119119
dot << " \"#{value}\" -> \"#{to}\";\n"
120120
end
121121
end
122-
if transitive # rubocop:disable Style/Next
122+
if transitive
123123
element.ancestors.each do |ancestor|
124124
dot << " \"#{value}\" -> \"#{ancestor}\" [style=dotted];\n"
125125
end

0 commit comments

Comments
 (0)