style: fix typo (#1592)

* style: fix typo

* style: add comment
This commit is contained in:
MaineK00n
2023-02-22 15:59:47 +09:00
committed by GitHub
parent 897fef24a3
commit 4e486dae1d
13 changed files with 16 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ func (w StdoutWriter) WriteScanSummary(rs ...models.ScanResult) {
fmt.Printf("%s\n", formatScanSummary(rs...))
}
// Write results to stdout
func (w StdoutWriter) Write(rs ...models.ScanResult) error {
if w.FormatOneLineText {
fmt.Print("\n\n")