Skip to content

Commit cddc359

Browse files
authored
Clear cached configuration when resetting build environment
1 parent 9b8dc6e commit cddc359

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Commands/Internal/BuildApplicationBinaryCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ protected function resetBuildEnvironment(): void
6161
{
6262
unlink(__DIR__.'/../../../config/app.php');
6363
rename(__DIR__.'/../../../box.json.bak', __DIR__.'/../../../box.json');
64+
65+
$this->clearCachedConfiguration(true);
6466
}
6567

6668
protected function clearCachedConfiguration(bool $silent = false): void

0 commit comments

Comments
 (0)