Update to not new format from propertiesForSource

This commit is contained in:
Ben Ogle
2014-10-07 17:33:08 -07:00
parent c315631efd
commit 8910dd1a11
2 changed files with 4 additions and 8 deletions

View File

@@ -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)
###