diff --git a/config/commonConfig.go b/config/commonConfig.go index 947078672..2c10ba9cf 100644 --- a/config/commonConfig.go +++ b/config/commonConfig.go @@ -437,7 +437,7 @@ func (c *CacheBuster) CompileConfig(logger loggers.Logger) error { return nil } return func(ss string) bool { - match = targetRe.MatchString(ss) + match := targetRe.MatchString(ss) matchString := "no match" if match { matchString = "match!"