Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vankop committed Nov 26, 2019
1 parent bbae328 commit a2b4bc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ValidationError.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ function createPropertyFormatter(schema) {
const subSchema = schema.properties[property];

if (hasType(subSchema)) {
type = subSchema.type;
const { type: subSchemaType } = subSchema;

type = subSchemaType;
}
}

Expand Down

0 comments on commit a2b4bc1

Please sign in to comment.