mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
src: fix ARRAY_SIZE() logic error
Bug introduced in commit 21d66d62 ("lib: remove bootstrap global context
indirection").
PR-URL: https://github.com/nodejs/node/pull/5969
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
d416a59f91
commit
00c876dec5
1 file changed
+1
-1
+1
-1
@@ -3327,7 +3327,7 @@ void LoadEnvironment(Environment* env) {
|
||||
global->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "global"), global);
|
||||
|
||||
Local<Value> arg = env->process_object();
|
||||
f->Call(Null(env->isolate()), ARRAY_SIZE(&arg), &arg);
|
||||
f->Call(Null(env->isolate()), 1, &arg);
|
||||
}
|
||||
|
||||
static void PrintHelp();
|
||||
|
||||
Reference in new issue
Block a user