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

Prevent throwing an exception for invalid methods when skip flag is set #137

Merged

Conversation

russellcullen
Copy link
Contributor

@russellcullen russellcullen commented Jan 22, 2025

When the skipInvalidMethods flag is set, the parser correctly logs when skipping the invalid method but still moves ahead and throws the error. This change adds an early return before throwing an error when the ignore flag is set.

@russellcullen
Copy link
Contributor Author

@microsoft-github-policy-service agree company="NYPL"

@haven2world
Copy link
Collaborator

Looks good to me. Thanks for your PR! @miku1958 do you have any concern on this change?

@miku1958
Copy link
Collaborator

@haven2world LGTM

@haven2world haven2world merged commit 6638d4f into microsoft:main Jan 23, 2025
5 checks passed
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.

3 participants