diff options
author | Guy Bedford <guybedford@gmail.com> | 2019-12-17 09:16:39 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2020-01-03 19:47:43 +0300 |
commit | 72c64605c95e7fc1d4b327b180f14bf70fcbfb24 (patch) | |
tree | 91a23b7f3880d610068fd105caa67e4a7e94f757 /src/module_wrap.cc | |
parent | 827d3fea0e17ba1db642df43fb92b7d6f51e8d4a (diff) |
module: unflag resolve self
PR-URL: https://github.com/nodejs/node/pull/31002
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/module_wrap.cc')
-rw-r--r-- | src/module_wrap.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/module_wrap.cc b/src/module_wrap.cc index 454476a1e97..74eacf198f7 100644 --- a/src/module_wrap.cc +++ b/src/module_wrap.cc @@ -1153,9 +1153,6 @@ Maybe<URL> ResolveSelf(Environment* env, const std::string& pkg_name, const std::string& pkg_subpath, const URL& base) { - if (!env->options()->experimental_resolve_self) { - return Nothing<URL>(); - } const PackageConfig* pcfg; if (GetPackageScopeConfig(env, base, base).To(&pcfg) && pcfg->exists == Exists::Yes) { |