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:
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user