We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
a new blank line will ba added at the beginning of the the block
this bug will be important when using
yq e '.version = 4' test.yaml
but it will appears with
yq '.' test.yaml
Version of yq: 4.25.4 Operating system: debian Installed via: git
Input Yaml
version: 3 scaler1: >- [ "A", "B", "C" ] scaler2: |- [ "A", "B", "C" ]
Command The command you ran:
Actual behavior
Expected behavior
The text was updated successfully, but these errors were encountered:
This is an issue with the underlying yaml parser :( see go-yaml/yaml#827
Sorry, something went wrong.
I'm using yq to combine docker compose files. Lines are being added between my commented lines for some reason.
################## ### WebServer ### ##################
Is this related?
It's hard to tell from that example...I didn't get any extra lines when I put that into a yaml file...
No branches or pull requests
Describe the bug
a new blank line will ba added at the beginning of the the block
this bug will be important when using
but it will appears with
Version of yq: 4.25.4
Operating system: debian
Installed via: git
Input Yaml
Command
The command you ran:
Actual behavior
Expected behavior
The text was updated successfully, but these errors were encountered: