Skip to content

Commit b6efc31

Browse files
committed
fix(summary): add blank line between todowrite header and todo items
1 parent 939ebb7 commit b6efc31

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/summary/formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ export function formatToolInfo(toolInfo: ToolInfo): string | null {
428428
}>;
429429
const toolIcon = getToolIcon(tool);
430430
const todosList = formatTodos(todos);
431-
return `${toolIcon} ${tool} (${todos.length})\n${todosList}`;
431+
return `${toolIcon} ${tool} (${todos.length})\n\n${todosList}`;
432432
}
433433

434434
let details = title || getToolDetails(tool, input);

tests/summary/formatter.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ describe("summary/formatter", () => {
131131
},
132132
});
133133

134-
expect(text).toBe("📝 todowrite (3)\n✅ Done item\n🔄 In progress item\n🔲 Pending item");
134+
expect(text).toBe("📝 todowrite (3)\n\n✅ Done item\n🔄 In progress item\n🔲 Pending item");
135135
});
136136

137137
it("formats write/edit tool details with line counters", () => {

0 commit comments

Comments
 (0)