From 9498710df9e2c139fa019f5607f3d67e11f29b0e Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sat, 2 Jul 2022 17:47:11 +0000 Subject: [PATCH] Apply fixes from StyleCI --- packages/framework/src/Commands/HydeBuildStaticSiteCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/framework/src/Commands/HydeBuildStaticSiteCommand.php b/packages/framework/src/Commands/HydeBuildStaticSiteCommand.php index 0f8fa2e8b63..5c21fc35c3e 100644 --- a/packages/framework/src/Commands/HydeBuildStaticSiteCommand.php +++ b/packages/framework/src/Commands/HydeBuildStaticSiteCommand.php @@ -177,6 +177,7 @@ public function purge(): void if (! in_array(basename(Hyde::getSiteOutputPath()), config('hyde.safe_output_directories', ['_site', 'docs', 'build']))) { if (! $this->confirm('The configured output directory ('.Hyde::getSiteOutputPath().') is potentially unsafe to empty. Are you sure you want to continue?')) { $this->info('Output directory will not be emptied.'); + return; } }