chore: fix clippy warnings and run rustfmt
This commit is contained in:
1 parent
fecd8bf33f
commit
3765e6b05d
21 files changed
+420
-369
No files matched your search
@@ -50,7 +50,6 @@ impl McpTool for TasksHandler {
|
||||
priority: req.priority,
|
||||
assigned_agent: req.assigned_agent,
|
||||
verification_command: req.verification_command,
|
||||
..Default::default()
|
||||
};
|
||||
let idx = state.get_search_index().await;
|
||||
drop(idx.index_task(&task));
|
||||
@@ -479,9 +478,10 @@ impl McpTool for MilestonesHandler {
|
||||
m.status = status.clone();
|
||||
if (status.eq_ignore_ascii_case("completed")
|
||||
|| status.eq_ignore_ascii_case("done"))
|
||||
&& m.completed_at.is_none() {
|
||||
m.completed_at = Some(crate::handlers::utils::now_secs());
|
||||
}
|
||||
&& m.completed_at.is_none()
|
||||
{
|
||||
m.completed_at = Some(crate::handlers::utils::now_secs());
|
||||
}
|
||||
if let Some(task_ids) = &req.task_ids {
|
||||
m.task_ids = task_ids.clone();
|
||||
if let Some(deliverables) = &req.deliverables {
|
||||
|
||||
Reference in new issue
Block a user