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

Avoid reverting the composer.json when an auto-script fails #807

Closed
wants to merge 1 commit into from

Conversation

nicolas-grekas
Copy link
Member

Fix #751

@stof
Copy link
Member

stof commented Sep 22, 2021

shouldn't we at least display the error message ?

@nicolas-grekas
Copy link
Member Author

The error says that the command failed, but that's not really useful. I expect failing commands to display something on their own instead.

@nicolas-grekas
Copy link
Member Author

Closing in favor of composer/composer#10118

@nicolas-grekas nicolas-grekas deleted the swallow-ScriptExecutionException branch September 22, 2021 14:57
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

Successfully merging this pull request may close these issues.

If the cache:clear command fails after an installation, the content of composer.json is reverted
2 participants