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 05b1dbd commit 18dc7ffCopy full SHA for 18dc7ff
src/node_contextify.cc
@@ -537,7 +537,8 @@ void ContextifyContext::PropertySetterCallback(
537
Environment* env = Environment::GetCurrent(context);
538
Local<Object> desc_obj = desc.As<Object>();
539
540
- // We have to specify the return value for any contextual or get/set property
+ // We have to specify the return value for any contextual or get/set
541
+ // property
542
if (desc_obj->HasOwnProperty(context, env->get_string()).FromJust() ||
543
desc_obj->HasOwnProperty(context, env->set_string()).FromJust())
544
args.GetReturnValue().Set(value);
0 commit comments