Skip to content

fix: Correct the formatting of the migration errors #1467

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

joe-yeager
Copy link
Contributor

Description and Context

Fix an issue when when the componentErrors has length 0

image

Comment on lines +440 to +442
if (!componentErrors || !componentErrors.length) {
throw new Error(projectErrorDetail);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I refactored a little while I was here, but the gist of it was we were missing a length check.

@joe-yeager joe-yeager merged commit f12050d into main Apr 25, 2025
1 check passed
@joe-yeager joe-yeager deleted the jy/fix-migration-error-formatting branch April 25, 2025 17:09
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