Typo s/IGNORRED/IGNORED

This commit is contained in:
Mike Ralphson 2016-09-08 19:31:17 +01:00 committed by GitHub
parent 7809b5d282
commit fb0defa04c

View File

@ -208,7 +208,7 @@ class SchemaDereferencer {
let keysCount = Object.keys(schema).length;
if ( keysCount > 2 || (keysCount === 2 && !schema.description) ) {
WarningsService.warn(`Other properties are defined at the same level as $ref at "#${pointer}". ` +
'They are IGNORRED according to the JsonSchema spec');
'They are IGNORED according to the JsonSchema spec');
resolved.description = resolved.description || schema.description;
}