Skip to content

Commit ffc11f6

Browse files
fix: Minor typo
1 parent 70356a5 commit ffc11f6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/old-files-run.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'better-ajv-errors': patch
3+
---
4+
5+
Fix typo in error message

src/validation-errors/additional-prop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default class AdditionalPropValidationError extends BaseValidationError {
99

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

1414
return output.concat(
1515
this.getCodeFrame(

0 commit comments

Comments
 (0)