Skip to content

Commit d703ab6

Browse files
authored
Update src/app/Console/Commands/Install.php
1 parent e2b41b8 commit d703ab6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/Console/Commands/Install.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ public function handle()
5050
]);
5151

5252
$this->line(" Creating users table (using Laravel's default migration)");
53-
$this->executeArtisanProcess('migrate', [
54-
'--no-interaction' => $this->option('no-interaction'),
55-
]);
53+
$this->executeArtisanProcess('migrate', $this->option('no-interaction') ? ['--no-interaction' => true] : []);
5654

5755
$this->line(" Creating App\Http\Middleware\CheckIfAdmin.php");
5856
$this->executeArtisanProcess('backpack:publish-middleware');

0 commit comments

Comments
 (0)