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 clear and concise description of what the bug is.
Note that any how to questions should be posted in the discussion board and not raised as an issue.
Version of yq: 4.20.2 Operating system: macos 11.6.2 Installed via: homebrew
Input Yaml data1.yml:
debug: "true"
Command The command you ran:
yq eval '.debug = true' -i data1.yml
Actual behavior no changes
Expected behavior boolean value should be set (without quotes: true), instead previously boolean as string (string value: "true"):
debug: true
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I am able to replicate this, will fix in the next release.
For now, you can work around the issue by:
yq 'with(.debug; . tag = "!!bool" | . style = "")' -i data1.yml
Sorry, something went wrong.
Thanx. 👍
ff047d0
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
Note that any how to questions should be posted in the discussion board and not raised as an issue.
Version of yq: 4.20.2
Operating system: macos 11.6.2
Installed via: homebrew
Input Yaml
data1.yml:
Command
The command you ran:
Actual behavior
no changes
Expected behavior
boolean value should be set (without quotes: true), instead previously boolean as string (string value: "true"):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: