Skip to content

Commit

Permalink
remove debug msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
george1459 committed Feb 2, 2023
1 parent 4e7147c commit 5ee0ba8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ export default class SchemaRetriever {
this._thingpediaClient = tpClient;
this._memoryClient = mClient || new DummyMemoryClient();
this._silent = !!silent;

// NOTE: this is just a trick to get around typechecking issues
// in the future, _silent will be removed altogether for a proper logging solution
if (this._silent)
this._silent = silent;
}

/**
Expand Down

0 comments on commit 5ee0ba8

Please sign in to comment.