-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
yaml_v3_problemA bug in the underlying yaml library. These issues are vastly harder to fix.A bug in the underlying yaml library. These issues are vastly harder to fix.
Description
Version: latest
To reproduce:
printf "---\n- {foo: bar}\n\n" | yamlfmt -formatter "include_document_start=true" -formatter "retain_line_breaks=true" -
Actual Input:
---
- {foo: bar}
Actual Output:
---
- {foo: bar,}
Expected Output:
---
- {foo: bar}
Also note that the following works fine:
printf "---\n- {foo: bar}\n" | yamlfmt -formatter "include_document_start=true" -formatter "retain_line_breaks=true" -
Thanks for your work on this!
kachick, vad, ChrisPbb, cschindlbeck, vkucera and 2 more
Metadata
Metadata
Assignees
Labels
yaml_v3_problemA bug in the underlying yaml library. These issues are vastly harder to fix.A bug in the underlying yaml library. These issues are vastly harder to fix.