Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Nov 23, 2024
1 parent 1edf406 commit 80b2031
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/commands/CacheClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ public function handle($args)

try {
CacheModel::clear();

echo "\033[32mDone!\033[39m\n";
} catch (\Exception $e) {
echo "\033[31mOperation failed: {$e->getMessage()}\033[39m\n";

return;
}

echo "\033[32mDone!\033[39m\n";
}
}

0 comments on commit 80b2031

Please sign in to comment.