Fix data race when clearing cache in cachebusters

This commit is contained in:
Jayson Wang
2026-01-28 23:50:57 +08:00
committed by GitHub
parent fd49df8f7a
commit 8a979d54d1
+1 -1
View File
@@ -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!"