Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmeusel committed Aug 5, 2020
1 parent 30b8416 commit 8f5596e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export class Dereferencer {
}

if (subSchema.$deref === false) {
// TODO: Document $deref feature
return subSchema;
}

Expand Down Expand Up @@ -257,7 +256,7 @@ export class Dereferencer {
const keys = pointer.split('/');
keys.shift();

return keys.map((key) => key.replace(/~1/g, '/').replace(/~0/g, '~'));
return keys.map(key => key.replace(/~1/g, '/').replace(/~0/g, '~'));
}

/**
Expand Down

0 comments on commit 8f5596e

Please sign in to comment.