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

Comments not preserved in output #127

Closed
kleht8 opened this issue Mar 18, 2018 · 1 comment
Closed

Comments not preserved in output #127

kleht8 opened this issue Mar 18, 2018 · 1 comment

Comments

@kleht8
Copy link

kleht8 commented Mar 18, 2018

When updating values from source yaml comment lines are not preserved in output.

test.yaml:

# Test Comment
value: something

yq w test.yaml value updated

Outputs:

value: updated

Expected behavior would be to preserve comments from input.

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

No branches or pull requests

2 participants