mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Upgrade to go 1.19 and update dependencies (#3069)
* Update to go 1.19 * Update dependencies * Update cross-compile script * Add missing targets to cross-compile-all * Update cache action to remove warning
This commit is contained in:
4
vendor/github.com/antchfx/xpath/query.go
generated
vendored
4
vendor/github.com/antchfx/xpath/query.go
generated
vendored
@@ -820,6 +820,8 @@ func (b *booleanQuery) Select(t iterator) NodeNavigator {
|
||||
}
|
||||
|
||||
func (b *booleanQuery) Evaluate(t iterator) interface{} {
|
||||
n := t.Current().Copy()
|
||||
|
||||
m := b.Left.Evaluate(t)
|
||||
left := asBool(t, m)
|
||||
if b.IsOr && left {
|
||||
@@ -827,6 +829,8 @@ func (b *booleanQuery) Evaluate(t iterator) interface{} {
|
||||
} else if !b.IsOr && !left {
|
||||
return false
|
||||
}
|
||||
|
||||
t.Current().MoveTo(n)
|
||||
m = b.Right.Evaluate(t)
|
||||
return asBool(t, m)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user