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,
db: Arc<Mutex<Connection>>,
item_service: Arc<ItemService>,
cmd: Command,
settings: Settings,
cmd: Arc<Mutex<Command>>,
settings: Arc<Settings>,
) -> Self {
Self {
data_dir,
db,
item_service,
cmd: Arc::new(Mutex::new(cmd)),
settings: Arc::new(settings),
cmd,
settings,
}
}