Skip to content

Commit fac64e9

Browse files
committed
fix: quotes
1 parent 348c4b9 commit fac64e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/deparser/src/deparser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -979,10 +979,10 @@ export class Deparser implements DeparserVisitor {
979979
switch (boolop) {
980980
case 'AND_EXPR':
981981
const andArgs = args.map(arg => this.visit(arg, boolContext)).join(' AND ');
982-
return formatStr.replace('%s', andArgs);
982+
return formatStr.replace('%s', () => andArgs);
983983
case 'OR_EXPR':
984984
const orArgs = args.map(arg => this.visit(arg, boolContext)).join(' OR ');
985-
return formatStr.replace('%s', orArgs);
985+
return formatStr.replace('%s', () => orArgs);
986986
case 'NOT_EXPR':
987987
return `NOT (${this.visit(args[0], context)})`;
988988
default:

0 commit comments

Comments
 (0)