fix: no skip pattern

This commit is contained in:
liruichen 2023-09-04 18:13:42 +08:00
parent dc9cb28fc6
commit 48513e979e

View File

@ -339,6 +339,8 @@ func filterProfileByPattern(skippattern []string, needpattern []string, profiles
skipOut = append(skipOut, profile) skipOut = append(skipOut, profile)
} }
} }
} else {
return profiles
} }
log.Infof("skipOut len: %v", len(skipOut)) log.Infof("skipOut len: %v", len(skipOut))
if len(needpattern) == 0 { if len(needpattern) == 0 {