Skip to content

Commit be52965

Browse files
committed
fix(evaluate): remove temp code
1 parent 67ee237 commit be52965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/evaluate/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const evaluate = (
130130

131131
if (realm.isObject(current)) {
132132
if (!realm.has(current, referenceToken) && strictObjects) {
133-
const a = new JSONPointerKeyError(
133+
throw new JSONPointerKeyError(
134134
`Invalid object key "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": key not found in object`,
135135
{
136136
jsonPointer,

0 commit comments

Comments
 (0)