diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-09-30 12:06:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-30 12:06:38 -0400 |
commit | 8d24be1a59714761665516e0d78d25059608c29b (patch) | |
tree | aed0140b63441008cb9b549d44948f7a36a4f5f1 /cli/npm/registry.rs | |
parent | 1cda3840ff673512f7c6d58fa8402c35c760bc3b (diff) |
refactor(npm): create `cli::npm::managed` module (#20740)
Creates the `cli::npm::managed` module and starts moving more
functionality into it.
Diffstat (limited to 'cli/npm/registry.rs')
-rw-r--r-- | cli/npm/registry.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cli/npm/registry.rs b/cli/npm/registry.rs index e960d926f..61eb4123d 100644 --- a/cli/npm/registry.rs +++ b/cli/npm/registry.rs @@ -75,12 +75,6 @@ impl CliNpmRegistryApi { }))) } - /// Creates an npm registry API that will be uninitialized. This is - /// useful for tests or for initializing the LSP. - pub fn new_uninitialized() -> Self { - Self(None) - } - /// Clears the internal memory cache. pub fn clear_memory_cache(&self) { self.inner().clear_memory_cache(); |