summaryrefslogtreecommitdiff
path: root/cli/tools/info.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/info.rs')
-rw-r--r--cli/tools/info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/info.rs b/cli/tools/info.rs
index e1972f08f..fa0ede437 100644
--- a/cli/tools/info.rs
+++ b/cli/tools/info.rs
@@ -98,7 +98,7 @@ fn print_cache_info(
let dir = factory.deno_dir()?;
#[allow(deprecated)]
let modules_cache = factory.global_http_cache()?.get_global_cache_location();
- let npm_cache = factory.npm_cache()?.as_readonly().get_cache_location();
+ let npm_cache = factory.deno_dir()?.npm_folder_path();
let typescript_cache = &dir.gen_cache.location;
let registry_cache = dir.registries_folder_path();
let mut origin_dir = dir.origin_data_folder_path();