Skip to content

Commit 05a0c47

Browse files
committed
fix: skip view setup on default selection
1 parent f638086 commit 05a0c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CreateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ protected function handle(): int
204204

205205
$extraCommands = ["cd '$directory'"];
206206

207-
if ($extraOptions['view'] ?? false && $extraOptions['view'] !== 'blade only') {
207+
if (isset($extraOptions['view']) && $extraOptions['view'] !== 'blade only') {
208208
$extraCommands[] = 'php leaf view:install --' . $extraOptions['view'];
209209
}
210210

0 commit comments

Comments
 (0)