From 256c99ffa230cad421413c641517df959d46041c Mon Sep 17 00:00:00 2001 From: Shota Ito Date: Fri, 25 Jan 2019 00:21:41 +0900 Subject: [PATCH] Delete tab from output in case of No CVE-IDs (#768) --- report/util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report/util.go b/report/util.go index 3b1e76a5..c09aed58 100644 --- a/report/util.go +++ b/report/util.go @@ -104,7 +104,7 @@ func formatList(r models.ScanResult) string { %s No CVE-IDs are found in updatable packages. %s - `, header, r.FormatUpdatablePacksSummary()) +`, header, r.FormatUpdatablePacksSummary()) } data := [][]string{} @@ -168,7 +168,7 @@ func formatFullPlainText(r models.ScanResult) (lines string) { %s No CVE-IDs are found in updatable packages. %s - `, header, r.FormatUpdatablePacksSummary()) +`, header, r.FormatUpdatablePacksSummary()) } lines = header + "\n"