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.
1 parent 98de29e commit ccf154eCopy full SHA for ccf154e
src/node_binding.cc
@@ -685,7 +685,7 @@ void GetLinkedBinding(const FunctionCallbackInfo<Value>& args) {
685
686
Local<Object> module = Object::New(env->isolate());
687
Local<Object> exports = Object::New(env->isolate());
688
- Local<String> exports_prop = FIXED_ONE_BYTE_STRING(env->isolate(), "exports");
+ Local<String> exports_prop = env->exports_string();
689
module->Set(env->context(), exports_prop, exports).Check();
690
691
if (mod->nm_context_register_func != nullptr) {
0 commit comments