Skip to content

Commit

Permalink
Merge branch 'improve-build-directory-purging' of https://github.com/…
Browse files Browse the repository at this point in the history
…hydephp/develop into improve-build-directory-purging
  • Loading branch information
caendesilva committed Jul 2, 2022
2 parents 1f5d838 + 9498710 commit 8aa2ecd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 8aa2ecd

Please sign in to comment.