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

fix: exit with error if any formatters fail #453

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

brianmcgee
Copy link
Member

@brianmcgee brianmcgee commented Oct 15, 2024

We try to apply formatters to all files on a best-effort basis, continuing if formatting any particular batch of files fails.

This fix ensures that if any formatting errors occur, the process will exit with an error.

Closes #450

TODO

@brianmcgee brianmcgee changed the title fix/exit with error formatters fail fix: exit with error if any formatters fail Oct 15, 2024
@brianmcgee brianmcgee force-pushed the fix/exit-with-error-formatters-fail branch from 77d8c42 to d0e10fc Compare October 15, 2024 15:35
@brianmcgee brianmcgee mentioned this pull request Oct 16, 2024
4 tasks
Copy link
Collaborator

@jfly jfly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

We try to apply formatters to all files on a best-effort basis, continuing if formatting any particular batch of files fails.

This fix ensures that if any formatting errors occur, the process will exit with an error.

Closes #450

Signed-off-by: Brian McGee <[email protected]>
Helps with debugging tests.

Signed-off-by: Brian McGee <[email protected]>
@brianmcgee brianmcgee force-pushed the fix/exit-with-error-formatters-fail branch from 2176102 to 39774dc Compare October 16, 2024 15:20
@brianmcgee brianmcgee merged commit 11d102b into main Oct 16, 2024
27 checks passed
@brianmcgee brianmcgee deleted the fix/exit-with-error-formatters-fail branch October 16, 2024 15:25
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.

2 participants