feat: multiyear project, log matched response body to stdout

This commit is contained in:
shinya 2025-02-04 16:30:50 +01:00
parent de9ac86677
commit 7cdf8d3d77

View File

@ -347,6 +347,7 @@ func (j *Job) isMatch(resp Response) bool {
}
if match {
matched = true
fmt.Printf("%s\n", resp.Data)
} else if j.Config.MatcherMode == "and" {
// we already know this isn't "and" match
return false