From 8d24be1a59714761665516e0d78d25059608c29b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 30 Sep 2023 12:06:38 -0400 Subject: refactor(npm): create `cli::npm::managed` module (#20740) Creates the `cli::npm::managed` module and starts moving more functionality into it. --- cli/npm/registry.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cli/npm/registry.rs') 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(); -- cgit v1.2.3