Skip to content

Commit

Permalink
Revert "install api optionally (#1470)" (#1473)
Browse files Browse the repository at this point in the history
This reverts commit bafc92d.
  • Loading branch information
taylorotwell authored Apr 10, 2024
1 parent 96505fb commit dea945f
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,9 @@ protected function installLivewireStack()
return false;
}

if ($this->option('api')) {
$this->call('install:api', [
'--without-migration-prompt' => true,
]);
}
$this->call('install:api', [
'--without-migration-prompt' => true,
]);

// Update Configuration...
$this->replaceInFile('inertia', 'livewire', config_path('jetstream.php'));
Expand Down Expand Up @@ -342,11 +340,9 @@ protected function installInertiaStack()
return false;
}

if ($this->option('api')) {
$this->call('install:api', [
'--without-migration-prompt' => true,
]);
}
$this->call('install:api', [
'--without-migration-prompt' => true,
]);

// Install NPM packages...
$this->updateNodePackages(function ($packages) {
Expand Down

0 comments on commit dea945f

Please sign in to comment.