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 <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 6993eb0 commit 21653b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node.cc

+1
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)