Skip to content

Commit

Permalink
Update maintenance command
Browse files Browse the repository at this point in the history
  • Loading branch information
nguereza-tony committed Nov 19, 2023
1 parent a9412b0 commit 3cb9443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/Command/MaintenanceCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public function online(): void

$this->application->maintenance()->deactivate();

$writer->boldRed('Application is now online')->eol();
$writer->boldGreen('Application is now online')->eol();
} catch (Throwable $ex) {
$writer->boldRed(sprintf(
'Failed to disable maintenance mode: %s.',
Expand All @@ -236,7 +236,7 @@ public function down(): void
$data = $this->getPayload();
$this->application->maintenance()->activate($data);

$writer->boldRed('Application is now in maintenance mode.')->eol();
$writer->boldGreen('Application is now in maintenance mode.')->eol();
} catch (Throwable $ex) {
$writer->boldRed(sprintf(
'Failed to enable maintenance mode: %s.',
Expand Down

0 comments on commit 3cb9443

Please sign in to comment.