We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GetCreationContext
1 parent 4ce2ecb commit 50ec55cCopy full SHA for 50ec55c
src/module_wrap.cc
@@ -119,7 +119,7 @@ void ModuleWrap::New(const FunctionCallbackInfo<Value>& args) {
119
Local<Context> context;
120
ContextifyContext* contextify_context = nullptr;
121
if (args[1]->IsUndefined()) {
122
- context = that->GetCreationContext().ToLocalChecked();
+ context = that->GetCreationContextChecked();
123
} else {
124
CHECK(args[1]->IsObject());
125
contextify_context = ContextifyContext::ContextFromContextifiedSandbox(
0 commit comments