cmd/govulncheck: add new line between non-reachable vulnerabilities
Change-Id: I7a8d4c4c59e8f007b50376c140de032b0f24702c
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/411714
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
diff --git a/cmd/govulncheck/main.go b/cmd/govulncheck/main.go
index b5ed32c..7f3b479 100644
--- a/cmd/govulncheck/main.go
+++ b/cmd/govulncheck/main.go
@@ -245,7 +245,7 @@
fmt.Println(wrap("These vulnerabilities exist in required modules, but no vulnerable symbols are used. No action is required. For more information, visit https://pkg.go.dev/vuln.", 80-labelWidth))
fmt.Println()
for m, ids := range unaffectedMods {
- fmt.Printf("%s (%s)", m, strings.Join(ids, ", "))
+ fmt.Printf("%s (%s)\n", m, strings.Join(ids, ", "))
}
fmt.Println()
}