Skip to content

Commit

Permalink
use success exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Dec 3, 2024
1 parent e3ffd10 commit 4458cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/StaticClear.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function handle()
if (! config('statamic.static_caching.strategy')) {
$this->components->error('Static caching is not enabled.');

return 1;
return 0;
}

spin(callback: fn () => StaticCache::flush(), message: 'Clearing the static page cache...');
Expand Down

0 comments on commit 4458cc8

Please sign in to comment.