Skip to content

Commit

Permalink
fix: minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilan Kushnir committed Nov 27, 2024
1 parent dc224d8 commit 06a1e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matchers/minLengthMatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const minLengthMatcher = (minLength: number): Matcher => ({
},
feedback: options => {
return {
warning: (options.translations.warnings.minLength = 'minLength'),
warning: options.translations.warnings.minLength || 'minLength',
suggestions: [],
};
},
Expand Down

0 comments on commit 06a1e48

Please sign in to comment.