We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e086d74 commit e546d4fCopy full SHA for e546d4f
packages/core/src/ruleset/validation/ajv.ts
@@ -36,7 +36,7 @@ export function createValidator(format: 'js' | 'json'): ValidateFunction {
36
schemaType: 'string',
37
error: {
38
message(cxt) {
39
- return _`${cxt.params?.message ? cxt.params.message : ''}`;
+ return _`${cxt.params?.message !== void 0 ? cxt.params.message : ''}`;
40
},
41
42
code(cxt) {
0 commit comments