Remove redundant logic

This commit is contained in:
stevenwdv
2025-06-17 15:56:13 +02:00
committed by GitHub
parent ce9a4af0df
commit 78c096fa8f
+1 -1
View File
@@ -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
}