delete footer
This commit is contained in:
parent
25b58a6a5d
commit
96f5618266
@ -11,7 +11,7 @@ class ReportAdapter
|
||||
end
|
||||
|
||||
def summary(report)
|
||||
"**Coverage**:\n\n#{table_head}\n| Lines | #{lines_covered_percent(report)}% | #{lines_minimum_percent(report)}% |\n#{table_footer}\n"
|
||||
"**Coverage**:\n\n#{table_head}\n| Lines | #{lines_covered_percent(report)}% | #{lines_minimum_percent(report)}% |\n"
|
||||
end
|
||||
|
||||
def annotations(_report)
|
||||
@ -23,10 +23,6 @@ class ReportAdapter
|
||||
"| Type | covered | minimum |\n| ----- | ------- | ------- |"
|
||||
end
|
||||
|
||||
def table_footer
|
||||
'| | | |'
|
||||
end
|
||||
|
||||
def lines_covered_percent(report)
|
||||
@lines_covered_percent ||= report.dig('lines', 'covered_percent')
|
||||
end
|
||||
|
||||
1
spec/fixtures/output/summary.md
vendored
1
spec/fixtures/output/summary.md
vendored
@ -3,4 +3,3 @@
|
||||
| Type | covered | minimum |
|
||||
| ----- | ------- | ------- |
|
||||
| Lines | 80% | 80% |
|
||||
| | | |
|
||||
|
||||
Reference in New Issue
Block a user