Skip to content

yq Does seems to lose comments on scalar documents #2424

Open
@ingydotnet

Description

@ingydotnet

See https://gist.github.com/ingydotnet/1d32dc70a568c8d3563e015bc11ad121

The comment # 002 is in the go-yaml node, but yq doesn't emit it.

This Gist was generated by https://github.com/ingydotnet/go-yaml-comments which I made to track down where comments go wrong between go-yaml's events, nodes and yq output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions