Skip to content

Commit cbd55f4

Browse files
committed
Remove priority column
1 parent 00be06a commit cbd55f4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/pmdtester/builders/diff_report/violations.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def build_violation_table(doc, key, value)
2626
end
2727

2828
def build_violation_table_head(doc)
29-
build_table_head(doc, '', 'Priority', 'Rule', 'Message', 'Line')
29+
build_table_head(doc, '', 'Rule', 'Message', 'Line')
3030
end
3131

3232
def build_violation_table_body(doc, key, value)
@@ -51,9 +51,6 @@ def build_violation_table_row(doc, key, pmd_violation)
5151

5252
violation = pmd_violation.attrs
5353

54-
# The priority of the rule
55-
doc.td violation['priority']
56-
5754
# The rule that trigger the violation
5855
doc.td do
5956
doc.a(href: (violation['externalInfoUrl']).to_s) { doc.text violation['rule'] }

0 commit comments

Comments
 (0)