mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
🐎 Transact setSchema config changes
This commit is contained in:
@@ -786,9 +786,10 @@ class Config
|
||||
rootSchema = properties[key]
|
||||
|
||||
Object.assign rootSchema, schema
|
||||
@setDefaults(keyPath, @extractDefaultsFromSchema(schema))
|
||||
@setScopedDefaultsFromSchema(keyPath, schema)
|
||||
@resetSettingsForSchemaChange()
|
||||
@transact =>
|
||||
@setDefaults(keyPath, @extractDefaultsFromSchema(schema))
|
||||
@setScopedDefaultsFromSchema(keyPath, schema)
|
||||
@resetSettingsForSchemaChange()
|
||||
|
||||
load: ->
|
||||
@initializeConfigDirectory()
|
||||
|
||||
Reference in New Issue
Block a user