mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don't blow up when asking for schema at non-existent path
This commit is contained in:
@@ -703,7 +703,7 @@ class Config
|
||||
schema = @schema
|
||||
for key in keys
|
||||
break unless schema?
|
||||
schema = schema.properties[key]
|
||||
schema = schema.properties?[key]
|
||||
schema
|
||||
|
||||
# Deprecated: Returns a new {Object} containing all of the global settings and
|
||||
|
||||
Reference in New Issue
Block a user