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

Add --ignore-errors option #217

Merged
merged 3 commits into from
Feb 26, 2021

Conversation

akwodkiewicz
Copy link
Contributor

Closes #199.

The program will exit only after it tries to apply all of the patches.
However, instead of breaking the default behaviour I propose an additional opt-in flag --ignore-errors.

Error messages still visible.
Return code logic unchanged (respecting shouldExitPostinstallWithError).

@akwodkiewicz
Copy link
Contributor Author

@ds300 What's your take on that?

@ds300
Copy link
Owner

ds300 commented Feb 26, 2021

Hey, thanks for the contribution! ❤️ Sorry it took me so long to get around to this.

This change makes sense. I'd even go as far as to say it should be the default behaviour. In fact I'm struggling to see why it shouldn't be the only behaviour. So I'll merge this, remove the cli option, and add some tests. 🙏🏼

@ds300 ds300 merged commit 4a17770 into ds300:master Feb 26, 2021
@ds300
Copy link
Owner

ds300 commented Feb 27, 2021

follow-up commits in case anybody is interested 4a17770...0e087bd

@ds300
Copy link
Owner

ds300 commented Feb 27, 2021

This was just released in v6.3.0

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.

Always attempt all patches, even if one fails
2 participants