diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-09-13 11:59:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 11:59:01 -0400 |
commit | 73efed218fe94ab27e89675ee238e2933b3fd4d1 (patch) | |
tree | 6961287971d127599a90a348bb6a9bc6256f7cd9 /cli/main.rs | |
parent | 51ba4764d1ca089eb65d333eb8797e064ac4c550 (diff) |
refactor(npm): create general use `NpmPackageResolver` (#15882)
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs index 1c9c10281..70c8c78d0 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -133,7 +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 npm_cache = &state.npm_cache.as_readonly().get_cache_location(); let typescript_cache = &state.dir.gen_cache.location; let registry_cache = &state.dir.root.join(lsp::language_server::REGISTRIES_PATH); |