mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 10:04:43 +08:00
UnwrapDoc now private
This commit is contained in:
@@ -24,7 +24,7 @@ func hasOperator(d *dataTreeNavigator, matchingNodes *list.List, pathNode *PathT
|
||||
candidate := el.Value.(*CandidateNode)
|
||||
|
||||
// grab the first value
|
||||
candidateNode := UnwrapDoc(candidate.Node)
|
||||
candidateNode := unwrapDoc(candidate.Node)
|
||||
var contents = candidateNode.Content
|
||||
switch candidateNode.Kind {
|
||||
case yaml.MappingNode:
|
||||
|
||||
Reference in New Issue
Block a user