mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 04:40:39 -07:00
* allow `lenientIf` for multiple operands * update tests
This commit is contained in:
@@ -24,7 +24,7 @@ export class Expression {
|
||||
}
|
||||
operands.push(result)
|
||||
} else {
|
||||
operands.push(yield evalToken(token, ctx, lenient && this.postfix.length === 1))
|
||||
operands.push(yield evalToken(token, ctx, lenient))
|
||||
}
|
||||
}
|
||||
return operands[0]
|
||||
|
||||
Reference in New Issue
Block a user