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