You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to a yaml.Node, the result is a single document which contains the comment attached to the non-empty map.
I prepared a fix for this in go-yaml/yaml some time ago (it's already 4.5 years: go-yaml/yaml#690). I can re-do the PR here if there's interest in contributions, or feel free to salvage that PR yourself if you want :)