diff options
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/main.rs b/cli/main.rs index bffe9c470..f089eeed6 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -133,6 +133,7 @@ fn print_cache_info( ) -> Result<(), AnyError> { let deno_dir = &state.dir.root; let modules_cache = &state.file_fetcher.get_http_cache_location(); + let npm_cache = &state.npm_resolver.get_cache_location(); let typescript_cache = &state.dir.gen_cache.location; let registry_cache = &state.dir.root.join(lsp::language_server::REGISTRIES_PATH); @@ -149,6 +150,7 @@ fn print_cache_info( let mut output = json!({ "denoDir": deno_dir, "modulesCache": modules_cache, + "npmCache": npm_cache, "typescriptCache": typescript_cache, "registryCache": registry_cache, "originStorage": origin_dir, @@ -172,6 +174,11 @@ fn print_cache_info( ); println!( "{} {}", + colors::bold("npm modules cache:"), + npm_cache.display() + ); + println!( + "{} {}", colors::bold("Emitted modules cache:"), typescript_cache.display() ); |