Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/old-files-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'better-ajv-errors': patch
---

Fix typo in error message
2 changes: 1 addition & 1 deletion src/validation-errors/additional-prop.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class AdditionalPropValidationError extends BaseValidationError {

print() {
const { message, params } = this.options;
const output = [chalk`{red {bold ADDTIONAL PROPERTY} ${message}}\n`];
const output = [chalk`{red {bold ADDITIONAL PROPERTY} ${message}}\n`];

return output.concat(
this.getCodeFrame(
Expand Down