diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-08-06 21:56:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-06 21:56:56 -0400 |
commit | b9b03869489213fa9b24d7416afe9e3e27c81ce7 (patch) | |
tree | 7727f2906b0864b1242c9d8030ca6416ee053409 /cli/factory.rs | |
parent | 7b5bc87f296d39e531051e1c0bb6cafa3808ab92 (diff) |
feat(unstable): rename `deno_modules` to `vendor` (#20065)
Renames the unstable `deno_modules` directory and corresponding settings
to `vendor` after feedback. Also causes the vendoring of the
`node_modules` directory which can be disabled via
`--node-modules-dir=false` or `"nodeModulesDir": false`.
Diffstat (limited to 'cli/factory.rs')
-rw-r--r-- | cli/factory.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/factory.rs b/cli/factory.rs index f78611553..e9a50aada 100644 --- a/cli/factory.rs +++ b/cli/factory.rs @@ -248,7 +248,7 @@ impl CliFactory { pub fn http_cache(&self) -> Result<&Arc<dyn HttpCache>, AnyError> { self.services.http_cache.get_or_try_init(|| { let global_cache = self.global_http_cache()?.clone(); - match self.options.deno_modules_dir_path() { + match self.options.vendor_dir_path() { Some(local_path) => { let local_cache = LocalHttpCache::new(local_path.clone(), global_cache); |