mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-01 01:41:39 +00:00
Remove redundant logic
This commit is contained in:
parent
ce9a4af0df
commit
78c096fa8f
@ -250,7 +250,7 @@ func applyMergeAnchor(node *CandidateNode, merge *CandidateNode, mergeIndex int,
|
||||
"can only use merge anchors with maps (!!map) or sequences (!!seq) of maps, but got sequence containing %v",
|
||||
childValue.Tag)
|
||||
}
|
||||
err := applyMergeAnchorMap(node, childValue, mergeIndex, inline && childInline, newContent)
|
||||
err := applyMergeAnchorMap(node, childValue, mergeIndex, childInline, newContent)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user