Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
eoftedal committed Dec 11, 2024
1 parent 2c5bedb commit ca507d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ function createQuerier() {
return value != undefined && value != null;
}
let subQueryCounter = 0;
let memoHits = 0;
const memo = new Map<QNode, Map<NodePath | PrimitiveValue, Result[]>>();

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

0 comments on commit ca507d4

Please sign in to comment.