Skip to content

Commit

Permalink
extract submitPlanModel for easier re-usability
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS-ovm committed May 21, 2024
1 parent 2d8a94d commit 26bbb4a
Show file tree
Hide file tree
Showing 4 changed files with 624 additions and 533 deletions.
2 changes: 2 additions & 0 deletions cmd/tea_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ func (m runPlanModel) View() string {
bits = append(bits, markdownToString(planHeader))
case taskStatusDone:
bits = append(bits, m.taskModel.View())
case taskStatusError:
// handled by caller
}

if len(bits) > 0 {
Expand Down
Loading

0 comments on commit 26bbb4a

Please sign in to comment.