fix deduplication issue caused by clobbered findings (#742)

* fix deduplication issue caused by clobbered findings

* fix index

* remove indexing, slow is better than wrong
This commit is contained in:
Zachary Rice authored and GitHub committed 2021-12-07 19:11:37 -06:00
1 parent 84e285e4ce
commit ce42947cae
17 files changed
+81 -66

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ func runDetect(cmd *cobra.Command, args []string) {
initConfig()
var (
vc config.ViperConfig
findings []*report.Finding
findings []report.Finding
err error
)