diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-30 00:07:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 04:07:57 +0000 |
commit | 2d3b596cf5b676aff127da04f21f758149e3580d (patch) | |
tree | a44b429810c78078180a8e51c59f4336090f084d /cli/args/mod.rs | |
parent | 556012320ecf546aaf5f7ac84d75c29593af758e (diff) |
feat: do not require `DENO_FUTURE=1` for npmrc support (#24043)
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index fe9c27928..766ddf52d 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -558,10 +558,6 @@ pub fn discover_npmrc( maybe_package_json_path: Option<PathBuf>, maybe_deno_json_path: Option<PathBuf>, ) -> Result<(Arc<ResolvedNpmRc>, Option<PathBuf>), AnyError> { - if !*DENO_FUTURE { - return Ok((create_default_npmrc(), None)); - } - const NPMRC_NAME: &str = ".npmrc"; fn get_env_var(var_name: &str) -> Option<String> { |