summaryrefslogtreecommitdiff
path: root/cli/factory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/factory.rs')
-rw-r--r--cli/factory.rs2
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);