This commit is contained in:
Alexandre Lachèze 2017-07-05 17:34:04 +02:00
parent 67cec5fd26
commit 03ec155ecb

View file

@ -418,7 +418,7 @@ app.once('ready', function () {
const extensions = BrowserWindow.getExtensions()
const devExtensions = {}
Array.from(devToolsExtensionNames).forEach(function (name) {
if (extensions[name]) return
if (!extensions[name]) return
devExtensions[name] = extensions[name]
})
return devExtensions