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

Preserve formatting on multi-line yaml strings #926

Conversation

douglasjacobsen
Copy link
Collaborator

This merge updates the way config dumps multi-line strings to style them with "|" instead of None, which allows their formatting to remain the same as it was before modifying a configuration file.

This commit updates the way config dumps multi-line strings to style
them with `"|"` instead of None, which allows their formatting to remain
the same as it was before modifying a configuration file.
@linsword13 linsword13 merged commit 557b822 into GoogleCloudPlatform:develop Mar 14, 2025
12 checks passed
@douglasjacobsen douglasjacobsen deleted the preserve-multiline-configs branch March 14, 2025 21:01
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.

None yet

2 participants