File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,11 +121,11 @@ protected function handle(): int
121121 return 1 ;
122122 }
123123
124- $ commands [] = ' cd ' . basename ( $ directory) ;
124+ $ commands [] = " cd ' $ directory' " ;
125125 $ commands [] = 'composer install --ansi ' ;
126126 } else {
127127 $ commands [] = "composer create-project leafs/mvc:v4.x-dev ' $ directory' --ansi " ;
128- $ commands [] = ' cd ' . basename ( $ directory) ;
128+ $ commands [] = " cd ' $ directory' " ;
129129 }
130130
131131 if ($ this ->option ('no-ansi ' )) {
@@ -202,7 +202,7 @@ protected function handle(): int
202202 ],
203203 ]);
204204
205- $ extraCommands = [$ this -> projectName === ' . ' ? '' : "cd ' $ directory' " ];
205+ $ extraCommands = ["cd ' $ directory' " ];
206206
207207 if ($ extraOptions ['view ' ] ?? false ) {
208208 $ extraCommands [] = 'php leaf view:install -- ' . $ extraOptions ['view ' ];
You can’t perform that action at this time.
0 commit comments