Fix missing else
This commit is contained in:
parent
3bef380e3b
commit
ea808024d7
@ -134,7 +134,7 @@ class JsonSchemaProxyHandler {
|
|||||||
const additionalProperties = schema.additionalProperties;
|
const additionalProperties = schema.additionalProperties;
|
||||||
if (additionalProperties === false) {
|
if (additionalProperties === false) {
|
||||||
return null;
|
return null;
|
||||||
} if (JsonSchemaProxyHandler.isObject(additionalProperties)) {
|
} else if (JsonSchemaProxyHandler.isObject(additionalProperties)) {
|
||||||
return additionalProperties;
|
return additionalProperties;
|
||||||
} else {
|
} else {
|
||||||
return JsonSchemaProxyHandler._unconstrainedSchema;
|
return JsonSchemaProxyHandler._unconstrainedSchema;
|
||||||
|
Loading…
Reference in New Issue
Block a user