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 empty line comment parsing by checking for the existing of a line ending. #48

Merged

Conversation

johnrom
Copy link
Contributor

@johnrom johnrom commented Nov 8, 2023

fixes #47

@johnrom johnrom requested a review from a team as a code owner November 8, 2023 16:30
Copy link
Member

@danielbachhuber danielbachhuber 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 PR with tests, @johnrom !

I'm fine with this one-off solution. We can always refactor later to something more complex.

@danielbachhuber danielbachhuber added this to the 1.3.5 milestone Nov 10, 2023
@danielbachhuber danielbachhuber merged commit 5a617cf into wp-cli:main Nov 10, 2023
36 checks passed
@johnrom johnrom deleted the johnrom/fix-empty-line-comments branch November 10, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

parse_wp_config fails to update string values due to empty line comments
2 participants