summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 7146d8548..d8e893906 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -252,11 +252,14 @@ fn print_cache_info(
let deno_dir = &state.dir.root;
let modules_cache = &state.file_fetcher.get_http_cache_location();
let typescript_cache = &state.dir.gen_cache.location;
+ let registry_cache =
+ &state.dir.root.join(lsp::language_server::REGISTRIES_PATH);
if json {
let output = json!({
"denoDir": deno_dir,
"modulesCache": modules_cache,
"typescriptCache": typescript_cache,
+ "registryCache": registry_cache,
});
write_json_to_stdout(&output)
} else {
@@ -268,9 +271,14 @@ fn print_cache_info(
);
println!(
"{} {:?}",
- colors::bold("TypeScript compiler cache:"),
+ colors::bold("Emitted modules cache:"),
typescript_cache
);
+ println!(
+ "{} {:?}",
+ colors::bold("Language server registries cache:"),
+ registry_cache,
+ );
Ok(())
}
}