Merge pull request #295 from AmalChandru/feat/update-to-latest-column

feat: Rename column "Update To" to "Latest" in remediation advice table
This commit is contained in:
Abhisek Datta 2024-12-04 20:09:40 +05:30 committed by GitHub
commit 7535652640
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -446,7 +446,7 @@ func (r *summaryReporter) renderRemediationAdvice() {
func (r *summaryReporter) addRemediationAdviceTableRows(tbl table.Writer,
sortedPackages []*summaryReporterRemediationData, maxAdvice int) {
tbl.AppendHeader(table.Row{"Ecosystem", "Package", "Update To", "Impact Score", "Vuln Risk"})
tbl.AppendHeader(table.Row{"Ecosystem", "Package", "Latest", "Impact Score", "Vuln Risk"})
// Re-use the formatting logic within this function boundary
formatTags := func(tags []string) string {