Skip to content

Commit

Permalink
withProgressBar
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed May 9, 2024
1 parent 90461e3 commit 2895b96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Commands/UpdatePermanentCachesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class UpdatePermanentCachesCommand extends Command
*/
public function handle()
{
PermanentCache::update();
$caches = PermanentCache::configuredCaches();

$this->withProgressBar($caches, fn ($cache) => $cache->update());
}
}

0 comments on commit 2895b96

Please sign in to comment.