Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b271cc5

Browse filesBrowse files
Jungku Leetargos
authored andcommitted
src: refactor GetCreationContext calls
PR-URL: #51367 Refs: #51287 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 29492e2 commit b271cc5
Copy full SHA for b271cc5

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/module_wrap.cc‎

Copy file name to clipboardExpand all lines: src/module_wrap.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void ModuleWrap::New(const FunctionCallbackInfo<Value>& args) {
120120
Local<Context> context;
121121
ContextifyContext* contextify_context = nullptr;
122122
if (args[1]->IsUndefined()) {
123-
context = that->GetCreationContext().ToLocalChecked();
123+
context = that->GetCreationContextChecked();
124124
} else {
125125
CHECK(args[1]->IsObject());
126126
contextify_context = ContextifyContext::ContextFromContextifiedSandbox(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.