We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5365f09 commit 1a983a6Copy full SHA for 1a983a6
src/CreateCommand.php
@@ -202,7 +202,7 @@ protected function handle(): int
202
],
203
]);
204
205
- $extraCommands = ["cd '$directory'"];
+ $extraCommands = [$this->projectName === '.' ? '' : "cd '$directory'"];
206
207
if ($extraOptions['view'] ?? false) {
208
$extraCommands[] = 'php leaf view:install --' . $extraOptions['view'];
0 commit comments