Skip to content

Commit

Permalink
fix: Minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SokratisVidros committed Apr 1, 2024
1 parent 70356a5 commit ffc11f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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

0 comments on commit ffc11f6

Please sign in to comment.