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 logic to error on duplicate package names and add test #761

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

ecraig12345
Copy link
Member

@ecraig12345 ecraig12345 commented Aug 16, 2022

#759 didn't work due to the logic being in the wrong function and not having tests... This PR fixes the issue and adds tests.

While writing the test, I noticed that while packageInfo.combinedOptions contains everything from BeachballOptions in practice, that wasn't reflected in the types, so I also updated the types. EDIT: fixing beachball types is like poking a dragon...fixing one thing reveals that everything is wrong. 🤦‍♀️ So this is reverted.

Note that I renamed the old change file (since it hasn't been published yet) in addition to making a new minor change file for the typing change.

@ecraig12345 ecraig12345 requested a review from kenotron August 16, 2022 21:39
@ecraig12345 ecraig12345 force-pushed the ecraig/packageInfos2 branch from 3b45348 to 39b8609 Compare August 16, 2022 21:49
@ecraig12345 ecraig12345 merged commit 6f777d9 into master Aug 16, 2022
@ecraig12345 ecraig12345 deleted the ecraig/packageInfos2 branch August 16, 2022 22:26
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