Skip to content

Commit

Permalink
debug: more parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <tokesh789@gmail.com>
  • Loading branch information
Tokesh committed Jan 18, 2025
1 parent 14e9bcb commit 0228916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/src/_utils/JsonSchemaValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class JsonSchemaValidator {
message: string | undefined

constructor(default_schema?: Record<any, any>, options: JsonSchemaValidatorOpts = {}) {
this.ajv = new AJV({ ...DEFAULT_AJV_OPTS, ...options.ajv_opts, removeAdditional: true })
this.ajv = new AJV({ ...DEFAULT_AJV_OPTS, ...options.ajv_opts, removeAdditional: true, verbose: true, allErrors: true})

Check failure on line 37 in tools/src/_utils/JsonSchemaValidator.ts

View workflow job for this annotation

GitHub Actions / lint

A space is required before '}'
addFormats(this.ajv);
if (options.ajv_errors_opts != null) ajv_errors(this.ajv, options.ajv_errors_opts)
Object.entries(options.reference_schemas ?? {}).forEach(([key, schema]) => {
Expand Down

0 comments on commit 0228916

Please sign in to comment.