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 112ed50 commit 218d61fCopy full SHA for 218d61f
src/Test/MakerTestEnvironment.php
@@ -299,7 +299,8 @@ private function buildFlexSkeleton(): void
299
300
file_put_contents($this->flexPath.'/.gitignore', "var/cache/\n");
301
302
- MakerTestProcess::create('git init && git config user.name "symfony" && git config user.email "test@symfony.com" && git add . && git commit -a -m "first commit"',
+ // Force adding vendor/ dir to Git repo in case users exclude it in global .gitignore
303
+ MakerTestProcess::create('git init && git config user.name "symfony" && git config user.email "test@symfony.com" && git add . && git add vendor/ -f && git commit -a -m "first commit"',
304
$this->flexPath
305
)->run();
306
}
0 commit comments