summaryrefslogtreecommitdiff
path: root/cli/npm/installer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/npm/installer.rs')
-rw-r--r--cli/npm/installer.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/npm/installer.rs b/cli/npm/installer.rs
index 5a15494ab..9e5fcc4c3 100644
--- a/cli/npm/installer.rs
+++ b/cli/npm/installer.rs
@@ -104,7 +104,6 @@ impl PackageJsonDepsInstaller {
if inner.npm_registry_api.mark_force_reload() {
log::debug!("Failed to resolve package. Retrying. Error: {err:#}");
// re-initialize
- inner.npm_registry_api.clear_memory_cache();
reqs_with_info_futures = inner.reqs_with_info_futures();
} else {
return Err(err.into());