Skip to content

Commit

Permalink
fix(proxy): remove logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Dec 6, 2019
1 parent 2186142 commit 616a1d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/schemaProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const handler = ({
};

meta[symbols.resolve] = (target, prop, receiver) => (path) => {
console.log('trying to resolve', path, 'in', receiver[symbols.filename]);
//console.log('trying to resolve', path, 'in', receiver[symbols.filename]);
if (path==undefined) {
return receiver;
}
Expand Down Expand Up @@ -88,7 +88,7 @@ const handler = ({
if (typeof retval === 'object') {
if (retval.$ref) {
const [uri, pointer] = retval.$ref.split('#');
console.log('resolving ref', uri, pointer, 'from', receiver[symbols.filename]);
//console.log('resolving ref', uri, pointer, 'from', receiver[symbols.filename]);
const basedoc = uri || receiver[symbols.id];
if (schemas.known[basedoc]) {
const referenced = schemas.known[basedoc][symbols.resolve](pointer);
Expand Down

0 comments on commit 616a1d9

Please sign in to comment.