Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a step of the create-project command fails, the script must not continue #100

Open
omarlopesino opened this issue Feb 13, 2023 · 0 comments

Comments

@omarlopesino
Copy link
Member

omarlopesino commented Feb 13, 2023

Currently, when the project is installed by composer create-project, if there is a temporary error in the project creation. The script does continue.

Example: Currently, if site-install fails, the script continues and the output is 'Congratulations'.

I propose to catch the error, warn the user, and then erase the project created to prevent the project half-installed and inconsistent. Alternative solutions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant