diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-11-20 00:18:55 +0100 |
---|---|---|
committer | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-11-20 00:18:55 +0100 |
commit | 6356329b37282178701c0064a4a2cd04286a51e7 (patch) | |
tree | 89a8e3703fa242eb1a1f3fec6007a0f3e8cfc3c6 /cli/tools/info.rs | |
parent | 85719a67e59c7aa45bead26e4942d7df8b1b42d4 (diff) |
dedup, rename, fix tests
Diffstat (limited to 'cli/tools/info.rs')
-rw-r--r-- | cli/tools/info.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tools/info.rs b/cli/tools/info.rs index c138d03d4..34e191850 100644 --- a/cli/tools/info.rs +++ b/cli/tools/info.rs @@ -126,7 +126,7 @@ fn print_cache_info( let registry_cache = dir.registries_folder_path(); let mut origin_dir = dir.origin_data_folder_path(); let deno_dir = dir.root_path_for_display().to_string(); - let deno_cache_dir = std::env::temp_dir().join("deno_cache"); + let web_cache_dir = crate::worker::get_cache_storage_dir(); if let Some(location) = &location { origin_dir = @@ -144,7 +144,7 @@ fn print_cache_info( "typescriptCache": typescript_cache, "registryCache": registry_cache, "originStorage": origin_dir, - "denoCacheDir": deno_cache_dir, + "webCacheStorage": web_cache_dir, }); if location.is_some() { @@ -181,8 +181,8 @@ fn print_cache_info( ); println!( "{} {}", - colors::bold("Deno Cache:"), - deno_cache_dir.display() + colors::bold("Web Cache storage:"), + web_cache_dir.display() ); if location.is_some() { println!( |