diff --git a/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php b/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php index d03c6a9dedf..6f7a8af4fdc 100644 --- a/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php +++ b/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php @@ -61,6 +61,7 @@ protected function askIfUnsafeDirectoryShouldBeEmptied(): bool protected function safeOutputDirectories(): array { /** @var array $directories */ - return Config::getArray('hyde.safe_output_directories', ['_site', 'docs', 'build']); + $directories = Config::getArray('hyde.safe_output_directories', ['_site', 'docs', 'build']); + return $directories; } }