Skip to content

Commit f0b871b

Browse files
committed
src: remove unused warning in node_contextify
PR-URL: #16408 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]>
1 parent a37a0ad commit f0b871b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node_contextify.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,8 @@ class ContextifyContext {
440440
desc_for_sandbox->set_configurable(desc.configurable());
441441
}
442442
// Set the property on the sandbox.
443-
sandbox->DefineProperty(context, property, *desc_for_sandbox);
443+
sandbox->DefineProperty(context, property, *desc_for_sandbox)
444+
.FromJust();
444445
};
445446

446447
if (desc.has_get() || desc.has_set()) {

0 commit comments

Comments
 (0)