Skip to content

Commit 9372bae

Browse files
authored
fix(regex): fix generating testcases when filter is not applied (#68)
1 parent 154fc96 commit 9372bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keploy/keploy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ func (k *Keploy) put(tcs regression.TestCaseReq) {
320320

321321
var str = k.cfg.App.Filter
322322
reg:= regexp.MustCompile(str.UrlRegex)
323-
if reg.FindString(tcs.URI) == "" {
323+
if str.UrlRegex!="" && reg.FindString(tcs.URI) == ""{
324324
return
325325
}
326326

0 commit comments

Comments
 (0)