Remove linter errors, warn when bad value

This commit is contained in:
Ben Ogle
2014-09-24 16:34:39 -07:00
parent 832b4ae4d8
commit aa5b0ce41f

View File

@@ -410,7 +410,7 @@ Config.addSchemaValidators
try
newValue[prop] = @executeSchemaValidators(value[prop], childSchema)
catch error
;
console.warn "Error setting value #{error.message}"
newValue
'array':
@@ -423,7 +423,7 @@ Config.addSchemaValidators
try
newValue.push @executeSchemaValidators(item, itemSchema)
catch error
;
console.warn "Error setting value #{error.message}"
newValue
else
value