Skip to content

Commit ca507d4

Browse files
committed
Fix linting
1 parent 2c5bedb commit ca507d4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ function createQuerier() {
300300
return value != undefined && value != null;
301301
}
302302
let subQueryCounter = 0;
303-
let memoHits = 0;
304303
const memo = new Map<QNode, Map<NodePath | PrimitiveValue, Result[]>>();
305304

306305
function resolveDirectly(node: QNode, path: NodePath) : Result[] {
@@ -337,7 +336,6 @@ function createQuerier() {
337336
for (const path of paths) {
338337
if (isNodePath(path)) {
339338
if (memo.has(startNode) && memo.get(startNode)!.has(path)) {
340-
memoHits++;
341339
result.push(...memo.get(startNode)!.get(path)!);
342340
} else {
343341
const subQueryKey = "subquery-" + subQueryCounter++;

0 commit comments

Comments
 (0)