Skip to content

Commit

Permalink
change default
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJump24 committed Dec 27, 2024
1 parent af31e0a commit 790926c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use function Laravel\Prompts\intro;
use function Laravel\Prompts\text;


class InstallCommand extends Command
{
protected $name = 'cachet:install';
Expand All @@ -31,8 +30,8 @@ public function handle(AppSettings $settings): int

$this->call('migrate', ['--seed' => true, '--seeder' => DatabaseSeeder::class]);

if (confirm('Do you want to create a new user?', true)) {
$this->call(MakeUserCommand::class);
if (confirm('Do you want to create a new user?', false)) {
$this->call('cachet:make:user');
}

if (confirm('Do you want to configure Cachet before installing?', true)) {
Expand Down

0 comments on commit 790926c

Please sign in to comment.