Skip to content

Commit c4f4185

Browse files
authored
Merge pull request #47 from smichaelsen/1.0
2 parents 3f4dfd9 + 1552834 commit c4f4185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ConfigLoader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function loadOverrides(): array
132132

133133
public function flushCache(): void
134134
{
135-
if (!$this->isProduction) {
135+
if (!$this->shouldCache()) {
136136
return;
137137
}
138138
$cacheFilePattern = str_replace($this->getCacheIdentifier(), '*', $this->getCacheFile());

0 commit comments

Comments
 (0)