From b8d90fd5748696dd50ce91e9f6d86ef0ef4eb081 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sat, 20 Dec 2025 15:05:03 +1100 Subject: [PATCH] Update pkg/yqlib/candidate_node.go Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> --- pkg/yqlib/candidate_node.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/yqlib/candidate_node.go b/pkg/yqlib/candidate_node.go index 1888f825..02168515 100644 --- a/pkg/yqlib/candidate_node.go +++ b/pkg/yqlib/candidate_node.go @@ -466,9 +466,7 @@ func (n *CandidateNode) UpdateAttributesFrom(other *CandidateNode, prefs assignP } // Preserve EncodeSeparate flag for format-specific encoding hints - if other.EncodeSeparate { - n.EncodeSeparate = true - } + n.EncodeSeparate = other.EncodeSeparate // merge will pickup the style of the new thing // when autocreating nodes