-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Comma is inserted after comment when serializing flow map #528
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When serializing a flow mapping, the separating comma is appended to a trailing comment instead of after a value.
This results in an invalid yaml document (despite no changes being made to the document) because of a missing comma between flow map items.
This behavior does not occur with a flow sequence, just a flow map.
To Reproduce
Expected behaviour
Comma should be in the correct position so that the document still parses after being stringified
Versions (please complete the following information):
yaml
: 2.4.0Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: