diff options
Diffstat (limited to 'src/node_binding.cc')
-rw-r--r-- | src/node_binding.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_binding.cc b/src/node_binding.cc index 123bdad418e..ffa9ffdfdbf 100644 --- a/src/node_binding.cc +++ b/src/node_binding.cc @@ -633,7 +633,7 @@ void GetLinkedBinding(const FunctionCallbackInfo<Value>& args) { Local<String> exports_prop = String::NewFromUtf8(env->isolate(), "exports", NewStringType::kNormal) .ToLocalChecked(); - module->Set(env->context(), exports_prop, exports).FromJust(); + module->Set(env->context(), exports_prop, exports).Check(); if (mod->nm_context_register_func != nullptr) { mod->nm_context_register_func( |