Open andrewkroh opened 1 year ago
Thank you for reporting the issue! For the first example, the yaml does not seem valid. It should be
---
script: |
line1
line3
instead if you want to write multi line values. For the second example, I've confirmed the issue has been already resolved so please use the latest version 🙂
@shuheiktgw This first example seems to be correct. It appears that even with this format, it must be handled as a multi-line string.
The documents below both cause
parser.ParseBytes
to return an ast.File` that contains two documents. In each case it should only return a single document. I have included a test case that reproduces the issue.Playground: https://go.dev/play/p/Q62ku79uAzr
Test case: