Delete tab from output in case of No CVE-IDs (#768)

This commit is contained in:
Shota Ito
2019-01-25 00:21:41 +09:00
committed by Kota Kanbe
parent 9c0bc3b13b
commit 256c99ffa2

View File

@@ -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"