summaryrefslogtreecommitdiff
path: root/cli/npm/registry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/npm/registry.rs')
-rw-r--r--cli/npm/registry.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/cli/npm/registry.rs b/cli/npm/registry.rs
index f5b8b9fc8..4fb926287 100644
--- a/cli/npm/registry.rs
+++ b/cli/npm/registry.rs
@@ -131,21 +131,6 @@ impl NpmRegistryApi {
}
pub fn new(
- cache: NpmCache,
- reload: bool,
- cache_setting: CacheSetting,
- progress_bar: ProgressBar,
- ) -> Self {
- Self::from_base(
- Self::default_url(),
- cache,
- reload,
- cache_setting,
- progress_bar,
- )
- }
-
- pub fn from_base(
base_url: Url,
cache: NpmCache,
reload: bool,