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 see as below example
Version of yq: 4.34.2 Operating system: linux Installed via: binary yq (https://github.com/mikefarah/yq/) version v4.34.2
Input Yaml
data1.yml:
a: b: c: #xx - name: "name1" age: 1
Command The command you ran:
yq -i 'del(.a.b.c[] | select(.name == "name1"))' data1.yml
Actual behavior
a: b: c: #xx []
Expected behavior
a: b: c: [] #xx
Additional context current yaml is not valid
The text was updated successfully, but these errors were encountered:
This looks like an issue with the underlying yaml parser :( https://github.com/go-yaml/yaml/issues - please raise an issue there
Sorry, something went wrong.
No branches or pull requests
Describe the bug
see as below example
Version of yq: 4.34.2
Operating system: linux
Installed via: binary
yq (https://github.com/mikefarah/yq/) version v4.34.2
Input Yaml
data1.yml:
Command
The command you ran:
Actual behavior
Expected behavior
Additional context
current yaml is not valid
The text was updated successfully, but these errors were encountered: