mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
No need to log error
This commit is contained in:
parent
44f36833cf
commit
4a5bd0ff5b
@ -55,9 +55,8 @@ func (p *pathParser) MatchesNextPathElement(nodeContext NodeContext, nodeKey str
|
||||
navigator := NewDataNavigator(navigationStrategy)
|
||||
err := navigator.Traverse(nodeContext.Node, p.ParsePath(path))
|
||||
if err != nil {
|
||||
log.Error(err.Error())
|
||||
log.Info(err.Error())
|
||||
}
|
||||
//crap handle error
|
||||
log.Debug("done deep recursing, found %v matches", len(navigationStrategy.GetVisitedNodes()))
|
||||
return len(navigationStrategy.GetVisitedNodes()) > 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user