Skip to content

Wrapping only strings with whitespace in quotes when converting to a properties file #1138

Answered by mikefarah
embee1981 asked this question in Q&A
Discussion options

You must be logged in to vote

This is a bug in yq - it's evaluating the test operator in the and expression even though the first argument is false (i.e. it's a boolean).

I'll work on a fix, till then you can use the workaround you have, or have multiple selects (and avoid and :/)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mikefarah
Comment options

Answer selected by embee1981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants