From 21653b6901cf46fe2893ba0a4c7f079d17e47917 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Fri, 28 Apr 2017 18:09:05 -0400 Subject: [PATCH] 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 Reviewed-By: Richard Lau Reviewed-By: Gibson Fahnestock Reviewed-By: Benjamin Gruenbaum Reviewed-By: James M Snell Reviewed-By: Anna Henningsen --- src/node.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node.cc b/src/node.cc index 8d816d0be4f278..0a09a6111b82b5 100644 --- a/src/node.cc +++ b/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",