Skip to content

Commit 1a983a6

Browse files
committed
fix: patch up create in '.' and command output
1 parent 5365f09 commit 1a983a6

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
@@ -202,7 +202,7 @@ protected function handle(): int
202202
],
203203
]);
204204

205-
$extraCommands = ["cd '$directory'"];
205+
$extraCommands = [$this->projectName === '.' ? '' : "cd '$directory'"];
206206

207207
if ($extraOptions['view'] ?? false) {
208208
$extraCommands[] = 'php leaf view:install --' . $extraOptions['view'];

0 commit comments

Comments
 (0)