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 override str util function to handle new lines and quotes correctly #2974

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

jesszzzz
Copy link
Contributor

@jesszzzz jesszzzz commented Oct 22, 2024

Motivation

There were some bugs in the original implementation of this function when it came to quotes and backslashes in strings. I've fixed them and added better round-trip tests.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Tests pass (the one failure is also happening on master and seems circle ci related and we're moving off of circle ci anyway in #2974

Related Issues and PRs

(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)
#2934

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 22, 2024
Copy link
Contributor

@Sanjay-Ganeshan Sanjay-Ganeshan left a comment

Choose a reason for hiding this comment

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

LGTM!

@jesszzzz jesszzzz force-pushed the fix_override_str_util branch from b42a920 to cbbef4e Compare October 28, 2024 15:12
@jesszzzz jesszzzz merged commit e671ee5 into main Oct 28, 2024
24 of 25 checks passed
@jesszzzz jesszzzz deleted the fix_override_str_util branch October 28, 2024 16:17
@adrianloy
Copy link

When will this be released? @Sanjay-Ganeshan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants