Fix partial rebuilds for SCSS fetched with GetMatch and similar

Fixes #12395
This commit is contained in:
Bjørn Erik Pedersen
2024-04-20 11:05:35 +02:00
parent da6112fc65
commit 004b694390
6 changed files with 114 additions and 33 deletions

View File

@@ -156,7 +156,7 @@ func TestClear(t *testing.T) {
cache = newTestCache(t)
cache.ClearMatching(func(k, v any) bool {
cache.ClearMatching(nil, func(k, v any) bool {
return k.(string) == "clearOnRebuild"
})