From 04e55a7bd56b942f206f8ae9361d8118c9ea9d81 Mon Sep 17 00:00:00 2001 From: Tokesh Date: Sat, 18 Jan 2025 18:18:34 +0500 Subject: [PATCH] debug: valid Signed-off-by: Tokesh --- tools/src/_utils/JsonSchemaValidator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/_utils/JsonSchemaValidator.ts b/tools/src/_utils/JsonSchemaValidator.ts index e6b490670..2a6b2d7f7 100644 --- a/tools/src/_utils/JsonSchemaValidator.ts +++ b/tools/src/_utils/JsonSchemaValidator.ts @@ -62,7 +62,7 @@ export default class JsonSchemaValidator { #validate(validate_func: ValidateFunction, data: any, is_schema: boolean = false): string | undefined { const valid = validate_func(data) as boolean - console.log(validate_func.errors, validate_func.evaluated, validate_func.schema, validate_func.schemaEnv, validate_func.source); + console.log("valid", valid); const errors = is_schema ? this.ajv.errors : validate_func.errors console.log("errors", errors); return valid ? undefined : this.errors_parser.parse(errors)