File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -155,13 +155,6 @@ public function __construct() {
155
155
exec ( 'git init ' );
156
156
exec ( 'git branch -m main ' );
157
157
158
- echo PHP_EOL . 'Setting up Composer... ' . PHP_EOL ;
159
-
160
- $ this ->copyFile ( "{$ path }/.templates/composer.json " , "{$ path }/composer.json " );
161
- $ this ->delete ( "{$ path }/vendor " );
162
- $ this ->delete ( "{$ path }/composer.lock " );
163
- exec ( 'composer install ' );
164
-
165
158
echo PHP_EOL . 'Setting up NPM... ' . PHP_EOL ;
166
159
167
160
$ this ->copyFile ( "{$ path }/.nvmrc " , "{$ path }/.nvmrc " );
@@ -170,6 +163,13 @@ public function __construct() {
170
163
$ this ->delete ( "{$ path }/package-lock.json " );
171
164
exec ( 'npm install ' );
172
165
166
+ echo PHP_EOL . 'Setting up Composer... ' . PHP_EOL ;
167
+
168
+ $ this ->copyFile ( "{$ path }/.templates/composer.json " , "{$ path }/composer.json " );
169
+ $ this ->delete ( "{$ path }/vendor " );
170
+ $ this ->delete ( "{$ path }/composer.lock " );
171
+ exec ( 'composer install ' );
172
+
173
173
echo PHP_EOL . 'Cleaning up... ' . PHP_EOL ;
174
174
175
175
$ this ->delete ( "{$ path }/.templates " );
You can’t perform that action at this time.
0 commit comments