Browse Source

src: add --napi-modules to whitelist

Add --napi-modules to whitelist for NODE_OPTIONS
as its needed so that we can run the tests that
come along with native modules.

PR-URL: https://github.com/nodejs/node/pull/12733
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
v6
Michael Dawson 8 years ago
committed by Anna Henningsen
parent
commit
21653b6901
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 1
      src/node.cc

1
src/node.cc

@ -3736,6 +3736,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,
"--force-fips",
"--openssl-config",
"--icu-data-dir",
"--napi-modules",
// V8 options
"--max_old_space_size",

Loading…
Cancel
Save