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
When using with(), and not closing the parenthesis, yq does not throw an error, and try to apply the command. This result in a empty file.
Version of yq: 4.27.5 Operating system: Ubuntu 22.04 Jammy Jellyfish Installed via: binary release
Input file
docker-compose.yml:
services: beehive: {}
Command
command yq --inplace 'eval' 'with(.services.beehive.restart; . |= "unless-stopped" | . line_comment="Restart the service on failure."' \ docker-compose.yml"```
Actual behavior
# empty file #
Expected behavior
Syntax Error: unclosed with.
The text was updated successfully, but these errors were encountered:
Thanks - will fix in the next release
Sorry, something went wrong.
Detect and fail on missing closing brackets #1366
1b8d399
Fixed in 4.28.2
No branches or pull requests
When using with(), and not closing the parenthesis, yq does not throw an error, and try to apply the command. This result in a empty file.
Version of yq: 4.27.5
Operating system: Ubuntu 22.04 Jammy Jellyfish
Installed via: binary release
Input file
docker-compose.yml:
Command
Actual behavior
# empty file #
Expected behavior
The text was updated successfully, but these errors were encountered: