Closed evertonfraga closed 4 years ago
This is not a problem with yq, but with the YAML parser that it uses. PyYAML does not support YAML 1.2, which eliminated the broken behavior that you point out. Feel free to upvote the issue at https://github.com/yaml/pyyaml/issues/116.
Much appreciated. I was now generating a test case for yq, but that won't be necessary.
upvoted.
I found an obvious workaround and I'm just posting here for documentation sake. It works when I changed on:
to "on":
, in the yaml file.
That works for me now, feel free to close the issue.
Hi, kudos for the project. It is really useful to me.
However, i just bumped into an issue. while converting a specific key.
on:
gets translated totrue
.Environment
Reproducible steps, using
yq
own test files:Output: