Skip to content

Commit 21653b6

Browse files
mhdawsonaddaleax
authored andcommitted
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: #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>
1 parent 6993eb0 commit 21653b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3736,6 +3736,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,
37363736
"--force-fips",
37373737
"--openssl-config",
37383738
"--icu-data-dir",
3739+
"--napi-modules",
37393740

37403741
// V8 options
37413742
"--max_old_space_size",

0 commit comments

Comments
 (0)