Skip to content

Commit def3f39

Browse files
Fix lint issues
1 parent 6571736 commit def3f39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/objects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const ObjectGenerator = ({ schema } = {}) =>
155155
}
156156

157157
const subTypeName
158-
= subType?.constructor === String ? subType : subType.name
158+
= subType?.constructor === String ? subType : subType.name
159159

160160
throw new ValidationError({
161161
message: `The field ${path}.${subField} should be a ${subTypeName} (${invalidData})`,

0 commit comments

Comments
 (0)