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 a729208 commit ac32340Copy full SHA for ac32340
src/node_contextify.cc
@@ -140,7 +140,7 @@ class ContextifyContext {
140
int length = names->Length();
141
for (int i = 0; i < length; i++) {
142
Local<String> key = names->Get(i)->ToString(env()->isolate());
143
- bool has = sandbox->HasOwnProperty(key);
+ bool has = sandbox->HasOwnProperty(context, key).FromJust();
144
if (!has) {
145
// Could also do this like so:
146
//
0 commit comments