From eea4efe87e455742ec17881ee93d8095925e8516 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 28 May 2026 22:43:11 +0900 Subject: refactor(repository): introduce Rc> handles for repositories Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/shirabe/src/command/init_command.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/command/init_command.rs') diff --git a/crates/shirabe/src/command/init_command.rs b/crates/shirabe/src/command/init_command.rs index 730658c..38e620b 100644 --- a/crates/shirabe/src/command/init_command.rs +++ b/crates/shirabe/src/command/init_command.rs @@ -455,8 +455,10 @@ impl InitCommand { let mut repo_manager = RepositoryFactory::manager(io.clone(), &config, None, None, None)?; - let mut repos: Vec> = - vec![Box::new(PlatformRepository::new(vec![], IndexMap::new())?)]; + let mut repos: Vec = + vec![crate::repository::RepositoryInterfaceHandle::new( + PlatformRepository::new(vec![], IndexMap::new())?, + )]; let mut create_default_packagist_repo = true; for repo in &repositories { let repo_config = -- cgit v1.3.1