diff options
author | Cheng Zhao <zcbenz@gmail.com> | 2021-08-13 05:03:25 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-09-18 17:01:29 +0300 |
commit | e4852e3ff5619a7cb626f193da21f8332e887963 (patch) | |
tree | 3f81685580c77ba6b8fb9ae990a340ddb4115904 /src/env.h | |
parent | 40c6e838dff37d0ccbc95ef28caac13f27a5238f (diff) |
src: add option to disable global search paths
PR-URL: https://github.com/nodejs/node/pull/39754
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h index f7d1dace414..f055e6b4501 100644 --- a/src/env.h +++ b/src/env.h @@ -1203,6 +1203,7 @@ class Environment : public MemoryRetainer { inline bool owns_inspector() const; inline bool tracks_unmanaged_fds() const; inline bool hide_console_windows() const; + inline bool no_global_search_paths() const; inline uint64_t thread_id() const; inline worker::Worker* worker_context() const; Environment* worker_parent_env() const; |