mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 10:04:43 +08:00
nicer reduce example
This commit is contained in:
@@ -39,8 +39,6 @@ func reduceOperator(d *dataTreeNavigator, context Context, expressionNode *Expre
|
||||
return Context{}, err
|
||||
}
|
||||
|
||||
accum.SetVariable("context", context.MatchingNodes)
|
||||
|
||||
log.Debugf("with variable %v", variableName)
|
||||
|
||||
blockExp := expressionNode.Rhs.Rhs
|
||||
|
||||
Reference in New Issue
Block a user