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

Softer cancel #321

Merged
merged 2 commits into from
Jun 15, 2024
Merged

Softer cancel #321

merged 2 commits into from
Jun 15, 2024

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Jun 15, 2024

Tune the error handling to fail more gracefully. And restore similar behaviour to treefmt 1.x

Fixes #316

zimbatm added 2 commits June 14, 2024 14:11
Give the processes some chance to clean after themselves.

Fixes #316 (comment)
If any of the formatting action returns an error, keep going to surface
as many errors as possible.

If the user hits Ctrl-C then terminate everything.
@brianmcgee brianmcgee merged commit 30d30b5 into main Jun 15, 2024
12 checks passed
@brianmcgee brianmcgee deleted the softer-cancel branch June 15, 2024 10:28
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.

Errors reported only from the first failing linter
2 participants