Skip to content

Commit

Permalink
removed unnecessary additional argument
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed May 29, 2024
1 parent bfd795b commit e9fbcff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json-validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class JSONValidation {

let errors: JsonError[] = [];
try {
errors = this.schema.validate(json.data, schema);
errors = this.schema.validate(json.data);
} catch {}
debug.log("xxx", "validation errors", errors, json.data);
if (!errors.length) return [];
Expand Down

0 comments on commit e9fbcff

Please sign in to comment.