chore: bump node to v12.18.0 (master) (#23789)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
Electron Bot
2020-06-17 15:57:12 -07:00
committed by GitHub
parent 4e66f1b2c6
commit b665eb6d43
41 changed files with 266 additions and 314 deletions

View File

@@ -251,9 +251,8 @@ int NodeMain(int argc, char* argv[]) {
{
v8::HandleScope scope(isolate);
node::InternalCallbackScope callback_scope(
env, v8::Local<v8::Object>(), {1, 0},
node::InternalCallbackScope::kAllowEmptyResource |
node::InternalCallbackScope::kSkipAsyncHooks);
env, v8::Object::New(isolate), {1, 0},
node::InternalCallbackScope::kSkipAsyncHooks);
node::LoadEnvironment(env);
}