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

Ensure get_parse_node does not fail when response body is empty #28

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

louim
Copy link
Contributor

@louim louim commented Feb 16, 2024

Guard against empty response body causing an error when finding the parse node.

I added some specs.

closes #26

Copy link
Member

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

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

Thanks again @louim

Any chance you can

Similar to #27 before we merge this?

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!
Can you bump the version and add an entry to the changelog as last time please?

@louim
Copy link
Contributor Author

louim commented Feb 16, 2024

Done! Would it be possible to approve to to run the Ruby workflows? My workflow runs needs admin approval

@louim louim force-pushed the bugfix/nil-empty-content-body branch from ddc2915 to 5b1bd32 Compare February 16, 2024 14:51
Copy link

sonarcloud bot commented Feb 16, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thanks for making the changes

@baywet baywet merged commit 9fe9d88 into microsoft:main Feb 16, 2024
20 of 22 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.

adapter should return nil on zero length content for the parse node
3 participants