diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-08-01 20:49:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 00:49:09 +0000 |
commit | 1cefa831fd74b14121494045a347024502d74e34 (patch) | |
tree | cc7791cf674e427fe4165262db416e6c537e99a3 /cli/tools/info.rs | |
parent | 36ae37604a0ddab4349df6eb6fafb8ae39fd20fc (diff) |
feat(unstable): optional `deno_modules` directory (#19977)
Closes #15633
Diffstat (limited to 'cli/tools/info.rs')
-rw-r--r-- | cli/tools/info.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tools/info.rs b/cli/tools/info.rs index 2262f1423..08345887b 100644 --- a/cli/tools/info.rs +++ b/cli/tools/info.rs @@ -95,7 +95,8 @@ fn print_cache_info( location: Option<&deno_core::url::Url>, ) -> Result<(), AnyError> { let dir = factory.deno_dir()?; - let modules_cache = factory.file_fetcher()?.get_http_cache_location(); + #[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 typescript_cache = &dir.gen_cache.location; let registry_cache = dir.registries_folder_path(); |