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

Exit with an error on invalid change files #986

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

ecraig12345
Copy link
Member

#878 introduced a bug where beachball would no longer exit with an error if there were invalid change files (though it would log messages).

This PR changes the ordering of some checks so that if (hasError) process.exit(1) comes after all the other checks that set hasError.

@ecraig12345 ecraig12345 merged commit f313e50 into master Sep 10, 2024
4 checks passed
@ecraig12345 ecraig12345 deleted the ecraig/validate-bug branch September 10, 2024 03:56
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.

1 participant