Skip to content

Commit b9db202

Browse files
committed
WIP: saving before rebase
1 parent 2a8af82 commit b9db202

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pkg/report/report.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,9 @@ func processMatchedStrings(fc []byte, m *yarax.Rule) []string {
573573
}
574574

575575
processor := newMatchProcessor(fc, matches, m.Patterns())
576-
return processor.process()
576+
matchedStrings := processor.process()
577+
processor.clearFileContent()
578+
return matchedStrings
577579
}
578580

579581
func buildBehavior(m *yarax.Rule, matchedStrings []string, key string, ruleURL string, risk int) *malcontent.Behavior {

0 commit comments

Comments
 (0)