-
Hi all I'm trying achieve wrapping of string values with quotes if they have whitespace when converting to a props file. I'm using the following:
which works with yaml files like:
producing
I'm doing something wrong however as when I run with something like the following
It doesn't work and I get one of the following errors, depending on what I leave in the yaml file: What's the best way to achieve this? UPDATE |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a bug in I'll work on a fix, till then you can use the workaround you have, or have multiple selects (and avoid |
Beta Was this translation helpful? Give feedback.
This is a bug in
yq
- it's evaluating thetest
operator in theand
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
:/)