Merge pull request #16701 from atom/fb-pw-configurable-loadSettings

add `configurable: true` to browserwindow.loadSettingsJSON
This commit is contained in:
Max Brunsfeld
2018-02-08 23:07:56 +01:00
committed by GitHub

View File

@@ -58,7 +58,8 @@ class AtomWindow extends EventEmitter {
Object.defineProperty(this.browserWindow, 'loadSettingsJSON', {
get: () => JSON.stringify(Object.assign({
userSettings: this.atomApplication.configFile.get()
}, this.loadSettings))
}, this.loadSettings)),
configurable: true
})
this.handleEvents()