remove unnecessary deletion

This commit is contained in:
Cody Rose
2026-02-26 15:38:21 -05:00
parent 8434a48210
commit 3f3503c87c
-1
View File
@@ -1063,7 +1063,6 @@ func (e *Engine) verificationOverlapWorker(ctx context.Context) {
// This is to ensure that the chunk is not reprocessed with verification enabled
// for this detector.
delete(detectorKeysWithResults, detector.Key)
delete(unverifiedFindings, detector.Key)
}
unverifiedFindings[detector.Key] = append(unverifiedFindings[detector.Key], res)
chunkSecrets[key] = struct{}{}