fix: propertyNames with empty schema, closes #861

master
Evgeny Poberezkin 2018-09-23 11:33:11 +01:00
parent 70362b9529
commit c1f929bcc8
2 changed files with 2 additions and 3 deletions

View File

@ -3,6 +3,8 @@
{{# def.setupKeyword }}
{{# def.setupNextLevel }}
var {{=$errs}} = errors;
{{? {{# def.nonEmptySchema:$schema }} }}
{{
$it.schema = $schema;
@ -22,8 +24,6 @@
, $currentBaseId = it.baseId;
}}
var {{=$errs}} = errors;
{{? $ownProperties }}
var {{=$dataProperties}} = undefined;
{{?}}

View File

@ -1,6 +1,5 @@
[
{
"skip": true,
"description": "propertyNames with empty schema (#861)",
"schema": {
"properties": {