(tasks []*model.Task, commitType string, includeBody, short bool)
| 121 | } |
| 122 | |
| 123 | func buildCommitMessage(tasks []*model.Task, commitType string, includeBody, short bool) string { |
| 124 | if len(tasks) == 1 { |
| 125 | return buildSingleTaskMessage(tasks[0], commitType, includeBody, short) |
| 126 | } |
| 127 | return buildMultiTaskMessage(tasks, commitType, includeBody, short) |
| 128 | } |
| 129 | |
| 130 | func buildSingleTaskMessage(task *model.Task, commitType string, includeBody, short bool) string { |
| 131 | subject := formatSubjectLine(task, commitType) |
no test coverage detected