Skip to content

Commit bf9b171

Browse files
Clean up
1 parent ac60779 commit bf9b171

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/cursorless-engine/src/languages/TreeSitterQuery/queryPredicateOperators.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ import { q } from "./operatorArgumentSchemaTypes";
1515
class Parity extends QueryPredicateOperator<Parity> {
1616
name = "parity?" as const;
1717
schema = z.tuple([q.node, q.string, q.integer]);
18-
run(
19-
{ document, range, node }: MutableQueryCapture,
20-
fieldName: string,
21-
parity: 0 | 1,
22-
) {
18+
run({ node }: MutableQueryCapture, fieldName: string, parity: 0 | 1) {
2319
if (node.parent == null) {
2420
return false;
2521
}

0 commit comments

Comments
 (0)