mirror of
https://github.com/atom/atom.git
synced 2026-02-15 09:05:58 -05:00
Functions are more useful if you call them
This commit is contained in:
@@ -702,7 +702,8 @@ class Config
|
||||
setValueAtKeyPath(settings, keyPath, undefined)
|
||||
settings = withoutEmptyObjects(settings)
|
||||
@set(null, settings, {scopeSelector, source, priority: @priorityForSource(source)}) if settings?
|
||||
@requestSave() if source is @getUserConfigPath and not @configFileHasErrors and @settingsLoaded
|
||||
if source is @getUserConfigPath() and not @configFileHasErrors and @settingsLoaded
|
||||
@requestSave()
|
||||
else
|
||||
@scopedSettingsStore.removePropertiesForSourceAndSelector(source, scopeSelector)
|
||||
@emitChangeEvent()
|
||||
|
||||
Reference in New Issue
Block a user