chore: bump node to v14.11.0 (master) (#25489)

This commit is contained in:
Electron Bot 2020-09-22 07:11:56 -07:00 committed by GitHub
parent dae60e01d4
commit d2a82dbd1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 97 additions and 491 deletions

View file

@ -130,8 +130,8 @@ void ElectronRendererClient::DidCreateScriptContext(
// If we have disabled the site instance overrides we should prevent loading
// any non-context aware native module
if (command_line->HasSwitch(switches::kDisableElectronSiteInstanceOverrides))
env->ForceOnlyContextAwareNativeModules();
env->WarnNonContextAwareNativeModules();
env->set_force_context_aware(true);
env->set_warn_context_aware(true);
environments_.insert(env);