You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
Discovered while using yqlib to build a document dynamically, found a minimal reproduction quite quickly on the yq command-line application. I tried using the -P flag as well to see if that would mitigate it, but it did not.
The text was updated successfully, but these errors were encountered:
Hey - try using | instead of , (comma is the union operator, collecting multiple yaml nodes together, whereas | takes the output of the LHS and pipes that into the right, building a single document.
Describe the bug
When using
yq -n
with assignment expressions, some expressions can cause the resulting document to be printed more than once.Version of yq:
Installed via:
go install
Command
Actual behavior
Expected behavior
Additional context
Discovered while using yqlib to build a document dynamically, found a minimal reproduction quite quickly on the yq command-line application. I tried using the -P flag as well to see if that would mitigate it, but it did not.
The text was updated successfully, but these errors were encountered: