(task *model.Task, commitType string)
| 179 | } |
| 180 | |
| 181 | func formatSubjectLine(task *model.Task, commitType string) string { |
| 182 | title := lowerFirst(task.Title) |
| 183 | group := task.GetGroup() |
| 184 | if group != "" { |
| 185 | return fmt.Sprintf("%s(%s): %s (task %s)", commitType, group, title, task.ID) |
| 186 | } |
| 187 | return fmt.Sprintf("%s: %s (task %s)", commitType, title, task.ID) |
| 188 | } |
| 189 | |
| 190 | func extractCompletedSubtasks(body string) []string { |
| 191 | var subtasks []string |
no test coverage detected