diff options
Diffstat (limited to 'crates/mozart/src/commands/update.rs')
| -rw-r--r-- | crates/mozart/src/commands/update.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/crates/mozart/src/commands/update.rs b/crates/mozart/src/commands/update.rs index 8a0bef7..b4a3246 100644 --- a/crates/mozart/src/commands/update.rs +++ b/crates/mozart/src/commands/update.rs @@ -728,11 +728,10 @@ pub async fn execute( console: &mozart_core::console::Console, ) -> anyhow::Result<()> { let cache_config = mozart_registry::cache::build_cache_config(cli.no_cache); - let repositories = std::sync::Arc::new( - mozart_registry::repository::RepositorySet::with_packagist( + let repositories = + std::sync::Arc::new(mozart_registry::repository::RepositorySet::with_packagist( mozart_registry::cache::Cache::repo(&cache_config), - ), - ); + )); let mut executor = mozart_registry::installer_executor::FilesystemExecutor::new( mozart_registry::cache::Cache::files(&cache_config), ); |
