diff options
Diffstat (limited to 'cli/npm/cache.rs')
-rw-r--r-- | cli/npm/cache.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/npm/cache.rs b/cli/npm/cache.rs index 1ad6bf72a..eb674d3cb 100644 --- a/cli/npm/cache.rs +++ b/cli/npm/cache.rs @@ -4,7 +4,6 @@ use std::collections::HashSet; use std::fs; use std::path::Path; use std::path::PathBuf; -use std::sync::Arc; use deno_ast::ModuleSpecifier; use deno_core::anyhow::bail; @@ -296,14 +295,14 @@ impl ReadonlyNpmCache { } /// Stores a single copy of npm packages in a cache. -#[derive(Clone, Debug)] +#[derive(Debug)] pub struct NpmCache { readonly: ReadonlyNpmCache, cache_setting: CacheSetting, http_client: HttpClient, progress_bar: ProgressBar, /// ensures a package is only downloaded once per run - previously_reloaded_packages: Arc<Mutex<HashSet<NpmPackageNv>>>, + previously_reloaded_packages: Mutex<HashSet<NpmPackageNv>>, } impl NpmCache { |