diff --git a/lib/browser/chrome-extension.js b/lib/browser/chrome-extension.js index 6d7be0b42d4f..d90a36008dec 100644 --- a/lib/browser/chrome-extension.js +++ b/lib/browser/chrome-extension.js @@ -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