mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Update to not new format from propertiesForSource
This commit is contained in:
@@ -679,12 +679,8 @@ class Config
|
||||
@watchSubscription = null
|
||||
|
||||
save: ->
|
||||
allSettings = global: @settings
|
||||
|
||||
for settingsObject in @scopedSettingsStore.propertiesForSource('user-config')
|
||||
for selector, properties of settingsObject
|
||||
allSettings[selector] = properties
|
||||
|
||||
allSettings = @scopedSettingsStore.propertiesForSource('user-config')
|
||||
allSettings.global = @settings
|
||||
CSON.writeFileSync(@configFilePath, allSettings)
|
||||
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user