Skip to content

Commit 78a681e

Browse files
committed
chore: changes after review
1 parent a1b62c4 commit 78a681e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/ref-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function parseRef(ref: string): { uri: string | null; pointer: string[] }
5353
const [uri, pointer = ''] = ref.split('#/');
5454
return {
5555
uri: (uri.endsWith('#') ? uri.slice(0, -1) : uri) || null,
56-
pointer: pointer.split('/').map(unescapePointer).filter(isTruthy),
56+
pointer: parsePointer(pointer),
5757
};
5858
}
5959

0 commit comments

Comments
 (0)