A single quote yields triple quotes in YAML output #200
Answered
by
TomWright
antonalekseev
asked this question in
Q&A
-
For example, if I want to use an environment variable as a part of the value. The desirable result would be
Escaping doesn't help
Using just single quotes predictably prevents variable expansion
|
Beta Was this translation helpful? Give feedback.
Answered by
TomWright
Feb 23, 2022
Replies: 1 comment 1 reply
-
This should do the job:
There final argument will be the string value used. Using the single quotes is redundant and is being considered part of the value itself |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
TomWright
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should do the job:
There final argument will be the string value used. Using the single quotes is redundant and is being considered part of the value itself