Prettier - Refactor summary table rendering for improved readability

This commit is contained in:
Chad Bentz
2026-02-27 22:30:03 +00:00
parent aa60746a92
commit 0e129e113c
+3 -4
View File
@@ -479,10 +479,9 @@ export async function addChangeVulnerabilitiesToSummary(
if (showPatchedVersions) {
headerRow.push({data: 'Patched Version', header: true})
}
core.summary.addHeading(`<em>${manifest}</em>`, 4).addTable([
headerRow,
...rows
])
core.summary
.addHeading(`<em>${manifest}</em>`, 4)
.addTable([headerRow, ...rows])
}
if (severity !== 'low') {