UnwrapDoc now private

This commit is contained in:
Mike Farah
2021-02-11 10:58:40 +11:00
parent ba223df4ac
commit b749973fe0
17 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ func sortKeysOperator(d *dataTreeNavigator, matchingNodes *list.List, pathNode *
}
for childEl := rhs.Front(); childEl != nil; childEl = childEl.Next() {
node := UnwrapDoc(childEl.Value.(*CandidateNode).Node)
node := unwrapDoc(childEl.Value.(*CandidateNode).Node)
if node.Kind == yaml.MappingNode {
sortKeys(node)
}