fix(scan-freebsd): also get installed with pkg info #1042 (#1051)

* fix(scan-freebsd): also get installed with `pkg info` #1042

* fix test
This commit is contained in:
Kota Kanbe
2020-09-12 05:08:41 +09:00
committed by GitHub
parent 8a8ab8cb18
commit 4b680b9960
5 changed files with 88 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ type StdoutWriter struct{}
// WriteScanSummary prints Scan summary at the end of scan
func (w StdoutWriter) WriteScanSummary(rs ...models.ScanResult) {
fmt.Printf("\n\n")
fmt.Println("One Line Summary")
fmt.Println("Scan Summary")
fmt.Println("================")
fmt.Printf("%s\n", formatScanSummary(rs...))
}