Skip to content

Commit

Permalink
chore: fix PR comments to align with existing patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
j33ty committed Nov 4, 2024
1 parent 105a374 commit 67083a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/evaluator/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {portableTextContent} from './pt'
import {Scope} from './scope'
import {evaluateScore} from './scoring'
import type {Executor} from './types'
import {isEqual} from './equality.ts'
import {isEqual} from './equality'

function hasReference(value: any, pathSet: Set<string>): boolean {
switch (getType(value)) {
Expand Down Expand Up @@ -406,8 +406,8 @@ array['intersects'] = async function (args, scope, execute) {
return NULL_VALUE
}

for (const v1 of await arr1.get()) {
for (const v2 of await arr2.get()) {
for await (const v1 of arr1) {
for await (const v2 of arr2) {
if (isEqual(v1, v2)) {
return TRUE_VALUE
}
Expand Down

0 comments on commit 67083a1

Please sign in to comment.