Skip to content

Commit

Permalink
Improve cmd status
Browse files Browse the repository at this point in the history
  • Loading branch information
nlewo committed Jun 9, 2024
1 parent ec05f86 commit 385a998
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ func generationStatus(g generation.Generation) {
fmt.Printf(" Status: building (since %s)\n", humanize.Time(g.BuildStartedAt))
case generation.BuildSucceeded:
fmt.Printf(" Status: built (%s)\n", humanize.Time(g.BuildEndedAt))
case generation.EvaluationFailed:
fmt.Printf(" Status: evaluation failed (%s)\n", humanize.Time(g.EvalEndedAt))
case generation.BuildFailed:
fmt.Printf(" Status: build failed (%s)\n", humanize.Time(g.BuildEndedAt))
}
printCommit(g.SelectedRemoteName, g.SelectedBranchName, g.SelectedCommitId, g.SelectedCommitMsg)
}
Expand Down

0 comments on commit 385a998

Please sign in to comment.