truncate long vuln summaries in verbose mode to prevent ugly wrapping
This commit is contained in:
parent
841d287893
commit
fb109314f0
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue