Skip to content

Commit 93054f4

Browse files
author
Tong Li
committed
return false when path is not changed
1 parent f82aeef commit 93054f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/pointer.js

+1
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ function resolveIf$Ref(pointer, options) {
214214
// This JSON reference "extends" the resolved value, rather than simply pointing to it.
215215
// So the resolved path does NOT change. Just the value does.
216216
pointer.value = $Ref.dereference(pointer.value, resolved.value);
217+
return false;
217218
}
218219
else {
219220
// Resolve the reference

0 commit comments

Comments
 (0)