We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GetCreationContext
1 parent 29492e2 commit b271cc5Copy full SHA for b271cc5
src/module_wrap.cc
@@ -120,7 +120,7 @@ void ModuleWrap::New(const FunctionCallbackInfo<Value>& args) {
120
Local<Context> context;
121
ContextifyContext* contextify_context = nullptr;
122
if (args[1]->IsUndefined()) {
123
- context = that->GetCreationContext().ToLocalChecked();
+ context = that->GetCreationContextChecked();
124
} else {
125
CHECK(args[1]->IsObject());
126
contextify_context = ContextifyContext::ContextFromContextifiedSandbox(
0 commit comments