Skip to content

Commit

Permalink
formatter complained
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Mar 8, 2023
1 parent 05b1dbd commit 18dc7ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/node_contextify.cc
Expand Up @@ -537,7 +537,8 @@ void ContextifyContext::PropertySetterCallback(
Environment* env = Environment::GetCurrent(context);
Local<Object> desc_obj = desc.As<Object>();

// 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
// property
if (desc_obj->HasOwnProperty(context, env->get_string()).FromJust() ||
desc_obj->HasOwnProperty(context, env->set_string()).FromJust())
args.GetReturnValue().Set(value);
Expand Down

0 comments on commit 18dc7ff

Please sign in to comment.