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
> jq --version
jq-1.6
>echo""| jq . --jsonargs a b
>echo$?
0
but this is an error with the new jq version (homebrew version on MacOS):
> jq --version
jq-1.7
>echo""| jq . --jsonargs a b
jq: invalid JSON text passed to --jsonargs
Use jq --help forhelp with command-line options,
or see the jq manpage, or online docs at https://jqlang.github.io/jq
I did not see something specific at first glance in the release notes, but the behaviour definitely has changed.
I have to confess that I don't fully understand --jsonargs (or this test suite), so I can't really help here...
I think this is the PR that changed the jq behaviour: jqlang/jq#2658
The text was updated successfully, but these errors were encountered:
If I understand
yq/test/test.py
Line 139 in b82e1b9
correctly, it is equivalent to the following:
but this is an error with the new jq version (homebrew version on MacOS):
I did not see something specific at first glance in the release notes, but the behaviour definitely has changed.
I have to confess that I don't fully understand
--jsonargs
(or this test suite), so I can't really help here...I think this is the PR that changed the jq behaviour: jqlang/jq#2658
The text was updated successfully, but these errors were encountered: