mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-04 19:35:38 +00:00
Update pkg/yqlib/candidate_node.go
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
This commit is contained in:
parent
b974d973ee
commit
b8d90fd574
@ -466,9 +466,7 @@ func (n *CandidateNode) UpdateAttributesFrom(other *CandidateNode, prefs assignP
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Preserve EncodeSeparate flag for format-specific encoding hints
|
// Preserve EncodeSeparate flag for format-specific encoding hints
|
||||||
if other.EncodeSeparate {
|
n.EncodeSeparate = other.EncodeSeparate
|
||||||
n.EncodeSeparate = true
|
|
||||||
}
|
|
||||||
|
|
||||||
// merge will pickup the style of the new thing
|
// merge will pickup the style of the new thing
|
||||||
// when autocreating nodes
|
// when autocreating nodes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user