mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-08-05 23:28:47 +00:00
report.lua: Remove redudnant section formatting/header
This commit is contained in:
@@ -323,9 +323,7 @@ local function render_module_report(dir, sources, results)
|
|||||||
-- Each renderer writes its header + content via the `add` closure (pre-bound above).
|
-- Each renderer writes its header + content via the `add` closure (pre-bound above).
|
||||||
-- Adding a new section = 1 row here + 1 render_<thing>_section function.
|
-- Adding a new section = 1 row here + 1 render_<thing>_section function.
|
||||||
for _, section in ipairs(SECTION_RENDERERS) do
|
for _, section in ipairs(SECTION_RENDERERS) do
|
||||||
add(section.header)
|
|
||||||
section.render(add, results, totals)
|
section.render(add, results, totals)
|
||||||
add("")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return table.concat(lines, "\n") .. "\n"
|
return table.concat(lines, "\n") .. "\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user