Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Create the _generated folder before writing a .gitignore file there #4449
After following the setup guide on a fresh project I got hit with a warning:
To prevent this error, I came up with two solutions:
Approach 2 seemed more ideal but might break other logic since I don't know why the statement in https://github.com/Codeception/Codeception/blob/2.3/src/Codeception/InitTemplate.php#L203 exists. Why is it testing if we have a .gitignore in our project root? To prevent confusion I've picked solution 1.
I'd love to know if you have any feedback on the PR. Thanks for Codeception