Skip to content

Commit 6f1f083

Browse files
committed
fix: type validation
1 parent cad7605 commit 6f1f083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dot/validate.jst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
{{?}}
209209
{{? $rulesGroup.type }}
210210
}
211-
{{? $typeSchema && $typeSchema === $typeToCheck && !$coerceToTypes }}
211+
{{? $typeSchema && $typeSchema === $rulesGroup.type && !$coerceToTypes }}
212212
else {
213213
{{
214214
var $schemaPath = it.schemaPath + '.type'

0 commit comments

Comments
 (0)