aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2019-01-09 00:15:05 +0800
committerFabio Berger <me@fabioberger.com>2019-01-09 00:15:05 +0800
commit0cfeea7c8c9b4c07cc53b3a47bfd01e6b1c81281 (patch)
treee61ae8ad2ee7112da5a1eed0854084020f439c93 /packages/json-schemas
parente2df4b355ba97e4212f5e42251defe8d9e432763 (diff)
downloaddexon-sol-tools-0cfeea7c8c9b4c07cc53b3a47bfd01e6b1c81281.tar
dexon-sol-tools-0cfeea7c8c9b4c07cc53b3a47bfd01e6b1c81281.tar.gz
dexon-sol-tools-0cfeea7c8c9b4c07cc53b3a47bfd01e6b1c81281.tar.bz2
dexon-sol-tools-0cfeea7c8c9b4c07cc53b3a47bfd01e6b1c81281.tar.lz
dexon-sol-tools-0cfeea7c8c9b4c07cc53b3a47bfd01e6b1c81281.tar.xz
dexon-sol-tools-0cfeea7c8c9b4c07cc53b3a47bfd01e6b1c81281.tar.zst
dexon-sol-tools-0cfeea7c8c9b4c07cc53b3a47bfd01e6b1c81281.zip
Remove stray console
Diffstat (limited to 'packages/json-schemas')
-rw-r--r--packages/json-schemas/src/schema_validator.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/json-schemas/src/schema_validator.ts b/packages/json-schemas/src/schema_validator.ts
index 6ccd981be..8fadae97a 100644
--- a/packages/json-schemas/src/schema_validator.ts
+++ b/packages/json-schemas/src/schema_validator.ts
@@ -44,7 +44,6 @@ export class SchemaValidator {
* @returns The results of the validation
*/
public validate(instance: any, schema: Schema): ValidatorResult {
- console.log('validating....');
SchemaValidator._assertSchemaNotUndefined(schema);
const jsonSchemaCompatibleObject = JSON.parse(JSON.stringify(instance));
return this._validator.validate(jsonSchemaCompatibleObject, schema);