chore: remove debugging log (#22093)
This commit is contained in:
parent
c6cec97287
commit
ea89120c9e
1 changed files with 0 additions and 1 deletions
|
@ -14,7 +14,6 @@ const remoteObjectCache = v8Util.createIDWeakMap()
|
||||||
const contextId = v8Util.getHiddenValue(global, 'contextId')
|
const contextId = v8Util.getHiddenValue(global, 'contextId')
|
||||||
|
|
||||||
ipcRendererInternal.invoke('ELECTRON_BROWSER_GET_LAST_WEB_PREFERENCES').then(preferences => {
|
ipcRendererInternal.invoke('ELECTRON_BROWSER_GET_LAST_WEB_PREFERENCES').then(preferences => {
|
||||||
console.log(preferences)
|
|
||||||
if (!preferences.enableRemoteModule) {
|
if (!preferences.enableRemoteModule) {
|
||||||
console.warn('%cElectron Deprecation Warning', 'font-weight: bold', "The 'remote' module is deprecated and will be disabled by default in a future version of Electron. To ensure a smooth upgrade and silence this warning, specify {enableRemoteModule: true} in the WebPreferences for this window.")
|
console.warn('%cElectron Deprecation Warning', 'font-weight: bold', "The 'remote' module is deprecated and will be disabled by default in a future version of Electron. To ensure a smooth upgrade and silence this warning, specify {enableRemoteModule: true} in the WebPreferences for this window.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue