We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 348c4b9 commit fac64e9Copy full SHA for fac64e9
packages/deparser/src/deparser.ts
@@ -979,10 +979,10 @@ export class Deparser implements DeparserVisitor {
979
switch (boolop) {
980
case 'AND_EXPR':
981
const andArgs = args.map(arg => this.visit(arg, boolContext)).join(' AND ');
982
- return formatStr.replace('%s', andArgs);
+ return formatStr.replace('%s', () => andArgs);
983
case 'OR_EXPR':
984
const orArgs = args.map(arg => this.visit(arg, boolContext)).join(' OR ');
985
- return formatStr.replace('%s', orArgs);
+ return formatStr.replace('%s', () => orArgs);
986
case 'NOT_EXPR':
987
return `NOT (${this.visit(args[0], context)})`;
988
default:
0 commit comments