Skip to content

Commit e546d4f

Browse files
committed
chore(core): eslint warning
1 parent e086d74 commit e546d4f

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/ruleset/validation

1 file changed

+1
-1
lines changed

packages/core/src/ruleset/validation/ajv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function createValidator(format: 'js' | 'json'): ValidateFunction {
3636
schemaType: 'string',
3737
error: {
3838
message(cxt) {
39-
return _`${cxt.params?.message ? cxt.params.message : ''}`;
39+
return _`${cxt.params?.message !== void 0 ? cxt.params.message : ''}`;
4040
},
4141
},
4242
code(cxt) {

0 commit comments

Comments
 (0)