diff options
Diffstat (limited to 'tools/eslint/node_modules/ajv/lib/dotjs/dependencies.js')
-rw-r--r-- | tools/eslint/node_modules/ajv/lib/dotjs/dependencies.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eslint/node_modules/ajv/lib/dotjs/dependencies.js b/tools/eslint/node_modules/ajv/lib/dotjs/dependencies.js index 837ec02f47..1b13c2084b 100644 --- a/tools/eslint/node_modules/ajv/lib/dotjs/dependencies.js +++ b/tools/eslint/node_modules/ajv/lib/dotjs/dependencies.js @@ -127,7 +127,7 @@ module.exports = function generate_dependencies(it, $keyword) { for (var $property in $schemaDeps) { var $sch = $schemaDeps[$property]; if (it.util.schemaHasRules($sch, it.RULES.all)) { - out += ' ' + ($nextValid) + ' = true; if (' + ($data) + '[\'' + ($property) + '\'] !== undefined) { '; + out += ' ' + ($nextValid) + ' = true; if (' + ($data) + (it.util.getProperty($property)) + ' !== undefined) { '; $it.schema = $sch; $it.schemaPath = $schemaPath + it.util.getProperty($property); $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($property); |