Commit 58ac7fe6 authored by nanahira's avatar nanahira

fix

parent cdf29223
...@@ -52,7 +52,7 @@ function joinWithOr(clauses: string[]) { ...@@ -52,7 +52,7 @@ function joinWithOr(clauses: string[]) {
return `and (${wrappedClauses.join(" or ")})`; return `and (${wrappedClauses.join(" or ")})`;
} }
function wrapWithNot(clause: string) { function wrapWithNot(clause: string) {
return `and not (1 ${clause})`; return `and not ${clause.slice(4)}`;
} }
function replaceClause(clause: string | any, statement: boolean) { function replaceClause(clause: string | any, statement: boolean) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment