-
For the following yaml, how do I append the element a before b? sample.yml: list:
- b
- c
- d expected result: list:
- a
- b
- c
- d |
Beta Was this translation helpful? Give feedback.
Answered by
mikefarah
Dec 15, 2022
Replies: 2 comments 1 reply
-
I did it but it's not smart. Please comment if anyone knows smart solution.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Try:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kebhr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try: