Skip to content

Commit e4db114

Browse files
committed
fix(cortex): prefix unused variable parent_summary with underscore
1 parent f614a04 commit e4db114

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/agent/cortex.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3568,8 +3568,7 @@ async fn pickup_one_ready_task(deps: &AgentDeps, logger: &CortexLogger) -> anyho
35683568
.await;
35693569

35703570
// Auto-complete parent task if this child task has a parent.
3571-
if let Some(parent_num) = task.metadata.get("parent_task_number").and_then(|v| v.as_i64()) {
3572-
let parent_summary = format!("Sub-task #{} completed: {}", task.task_number, task.title);
3571+
if let Some(parent_num) = task.metadata.get("parent task_number").and_then(|v| v.as_i64()) {
35733572
tracing::info!(
35743573
parent_task = parent_num,
35753574
child_task = task.task_number,

0 commit comments

Comments
 (0)