mirror of
https://github.com/electron/electron.git
synced 2026-01-27 00:09:09 -05:00
Oops
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user