Skip to content

Commit

Permalink
Adding missing is_contextual_store||check
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Feb 1, 2023
1 parent 0599236 commit 020bc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_contextify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ void ContextifyContext::PropertySetterCallback(
return;

USE(ctx->sandbox()->Set(context, property, value));
if (is_function) {
if (is_contextual_store || is_function) {
args.GetReturnValue().Set(value);
}
}
Expand Down

0 comments on commit 020bc92

Please sign in to comment.