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
@@ -13,7 +13,7 @@ func lengthOperator(d *dataTreeNavigator, matchMap *list.List, pathNode *PathTre
for el := matchMap.Front(); el != nil; el = el.Next() {
candidate := el.Value.(*CandidateNode)
targetNode := UnwrapDoc(candidate.Node)
targetNode := unwrapDoc(candidate.Node)
var length int
switch targetNode.Kind {
case yaml.ScalarNode: