Skip to content

Commit dea945f

Browse files
authored
Revert "install api optionally (#1470)" (#1473)
This reverts commit bafc92d.
1 parent 96505fb commit dea945f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/Console/InstallCommand.php

+6-10
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,9 @@ protected function installLivewireStack()
154154
return false;
155155
}
156156

157-
if ($this->option('api')) {
158-
$this->call('install:api', [
159-
'--without-migration-prompt' => true,
160-
]);
161-
}
157+
$this->call('install:api', [
158+
'--without-migration-prompt' => true,
159+
]);
162160

163161
// Update Configuration...
164162
$this->replaceInFile('inertia', 'livewire', config_path('jetstream.php'));
@@ -342,11 +340,9 @@ protected function installInertiaStack()
342340
return false;
343341
}
344342

345-
if ($this->option('api')) {
346-
$this->call('install:api', [
347-
'--without-migration-prompt' => true,
348-
]);
349-
}
343+
$this->call('install:api', [
344+
'--without-migration-prompt' => true,
345+
]);
350346

351347
// Install NPM packages...
352348
$this->updateNodePackages(function ($packages) {

0 commit comments

Comments
 (0)