Skip to content

Commit

Permalink
fix #101
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengchun committed Jul 28, 2024
1 parent 14e235f commit d37f8b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ func (b *builder) processAxis(root *axisNode, flags flag, props *builderProp) (q
if input := root.Input.(*axisNode); input.AxeType == "descendant-or-self" {
var qyGrandInput query
if input.Input != nil {
qyGrandInput, _ = b.processNode(input.Input, flagsEnum.SmartDesc, props)
qyGrandInput, err = b.processNode(input.Input, flagsEnum.SmartDesc, props)
if err != nil {
return nil, err
}
} else {
qyGrandInput = &contextQuery{}
}
Expand Down

0 comments on commit d37f8b2

Please sign in to comment.