Skip to content

Commit ccf154e

Browse files
authored
Update src/node_binding.cc
1 parent 98de29e commit ccf154e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_binding.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ void GetLinkedBinding(const FunctionCallbackInfo<Value>& args) {
685685

686686
Local<Object> module = Object::New(env->isolate());
687687
Local<Object> exports = Object::New(env->isolate());
688-
Local<String> exports_prop = FIXED_ONE_BYTE_STRING(env->isolate(), "exports");
688+
Local<String> exports_prop = env->exports_string();
689689
module->Set(env->context(), exports_prop, exports).Check();
690690

691691
if (mod->nm_context_register_func != nullptr) {

0 commit comments

Comments
 (0)