mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Remove linter errors, warn when bad value
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user