fixup - remove change in behavior, cannot yet confirm that results have unique ids

This commit is contained in:
steeeve
2022-06-09 18:07:19 -04:00
parent 2b7b0d85e3
commit cda6b78246
-4
View File
@@ -149,10 +149,6 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
}
results = append(results, s1)
// If we've found a verified match with this ID, we don't need to look for any more. So move on to the next ID.
if s1.Verified {
break
}
}
}
return detectors.CleanResults(results), nil