diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-02 11:04:38 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-02 11:04:38 -0500 |
commit | ea808024d70e95b94dca7f846e7910573fed8466 (patch) | |
tree | baee4e268c040c3e52ba29313fb411ff6226d478 /ext/bg | |
parent | 3bef380e3be0a641ec5095ef73ddb5c8d48a342c (diff) |
Fix missing else
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/json-schema.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/json-schema.js b/ext/bg/js/json-schema.js index 49f1e082..0ca1183e 100644 --- a/ext/bg/js/json-schema.js +++ b/ext/bg/js/json-schema.js @@ -134,7 +134,7 @@ class JsonSchemaProxyHandler { const additionalProperties = schema.additionalProperties; if (additionalProperties === false) { return null; - } if (JsonSchemaProxyHandler.isObject(additionalProperties)) { + } else if (JsonSchemaProxyHandler.isObject(additionalProperties)) { return additionalProperties; } else { return JsonSchemaProxyHandler._unconstrainedSchema; |