truncate long vuln summaries in verbose mode to prevent ugly wrapping

This commit is contained in:
CarterPerez-dev 2026-01-28 13:12:09 -05:00
parent 841d287893
commit fb109314f0
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ func printVulnsVerbose(
),
bold(id),
)
fmt.Printf(" %s\n", v.Summary)
fmt.Printf(" %s\n", truncate(v.Summary, 72))
if v.FixedIn != "" {
fmt.Printf(
" %s %s\n",