(cline: Task, todoList?: TodoItem[])
| 151 | } |
| 152 | |
| 153 | export function restoreTodoListForTask(cline: Task, todoList?: TodoItem[]) { |
| 154 | if (todoList) { |
| 155 | cline.todoList = Array.isArray(todoList) ? todoList : [] |
| 156 | return |
| 157 | } |
| 158 | cline.todoList = getLatestTodo(cline.clineMessages) |
| 159 | } |
| 160 | |
| 161 | function todoListToMarkdown(todos: TodoItem[]): string { |
| 162 | return todos |
no test coverage detected