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

Add error case in deprecated config #222

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

kemmerle
Copy link
Contributor

Description and Context

HubSpot/hubspot-cli#1307 relies on this PR.

While we were porting it to TypeScript, we made a change in the deprecated config, so that on creation, the config contains a portals property set to an empty array ({ portals: [] }). This means that we need to refactor our error handling in config validation to handle cases where portals is set to an empty array.

TODO

  • Address feedback

Who to Notify

@brandenrodgers @camden11 @joe-yeager

@kemmerle kemmerle merged commit 861fdfd into main Dec 18, 2024
1 check passed
@kemmerle kemmerle deleted the refactor/loadAndValidateOptions3 branch December 18, 2024 16:10
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