fix: update AsyncItemService::new() to accept wrapped Command and Settings types

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-28 15:19:01 -03:00
parent 06a4b3ec73
commit 7be728e233

View File

@@ -29,15 +29,15 @@ impl AsyncItemService {
data_dir: PathBuf, data_dir: PathBuf,
db: Arc<Mutex<Connection>>, db: Arc<Mutex<Connection>>,
item_service: Arc<ItemService>, item_service: Arc<ItemService>,
cmd: Command, cmd: Arc<Mutex<Command>>,
settings: Settings, settings: Arc<Settings>,
) -> Self { ) -> Self {
Self { Self {
data_dir, data_dir,
db, db,
item_service, item_service,
cmd: Arc::new(Mutex::new(cmd)), cmd,
settings: Arc::new(settings), settings,
} }
} }