Skip to content

Commit 0e129e1

Browse files
committed
Prettier - Refactor summary table rendering for improved readability
1 parent aa60746 commit 0e129e1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/summary.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,9 @@ export async function addChangeVulnerabilitiesToSummary(
479479
if (showPatchedVersions) {
480480
headerRow.push({data: 'Patched Version', header: true})
481481
}
482-
core.summary.addHeading(`<em>${manifest}</em>`, 4).addTable([
483-
headerRow,
484-
...rows
485-
])
482+
core.summary
483+
.addHeading(`<em>${manifest}</em>`, 4)
484+
.addTable([headerRow, ...rows])
486485
}
487486

488487
if (severity !== 'low') {

0 commit comments

Comments
 (0)