Skip to content

Commit

Permalink
Fixed "all" error message #1845
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefarah committed Dec 13, 2023
1 parent eb42787 commit dea8f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/yqlib/operator_booleans.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func allOperator(d *dataTreeNavigator, context Context, expressionNode *Expressi
for el := context.MatchingNodes.Front(); el != nil; el = el.Next() {
candidate := el.Value.(*CandidateNode)
if candidate.Kind != SequenceNode {
return Context{}, fmt.Errorf("any only supports arrays, was %v", candidate.Tag)
return Context{}, fmt.Errorf("all only supports arrays, was %v", candidate.Tag)
}
booleanResult, err := findBoolean(false, d, context, expressionNode.RHS, candidate)
if err != nil {
Expand Down

0 comments on commit dea8f95

Please sign in to comment.