Skip to content

Commit

Permalink
Remove irrelevant code line
Browse files Browse the repository at this point in the history
Changes:

- applied suggestion from: #452 (comment)
  • Loading branch information
AnimeshKumar923 committed Dec 4, 2023
1 parent f30c583 commit c9f0675
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/validate-schemas-final.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function validation (excludedFiles){
validate = ajvDraft04.validateSchema(obj);
if(validate){
console.log(`\n${file}: JSON Schema is valid!`);
}
}
} else {
// Validate the schema
validate = ajv.validateSchema(obj);
Expand All @@ -57,7 +57,6 @@ function validation (excludedFiles){
? ajvDraft04.errors
: ajv.errors
});
// console.error(`${file}: JSON Schema is not valid:`, ajv.errors);
}
} catch (error) {
validationErrors.push({
Expand Down

0 comments on commit c9f0675

Please sign in to comment.