Skip to content

Commit

Permalink
Merge pull request #47 from smichaelsen/1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
helhum authored Feb 9, 2023
2 parents 3f4dfd9 + 1552834 commit c4f4185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConfigLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function loadOverrides(): array

public function flushCache(): void
{
if (!$this->isProduction) {
if (!$this->shouldCache()) {
return;
}
$cacheFilePattern = str_replace($this->getCacheIdentifier(), '*', $this->getCacheFile());
Expand Down

0 comments on commit c4f4185

Please sign in to comment.