Skip to content

Commit

Permalink
pipeline view - add time started
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed Feb 22, 2024
1 parent 9987c15 commit f58ea12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/pipeline/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var ViewCmd = &cobra.Command{
}
fmt.Printf(" \033[1;32m#%d\033[m ", pipeline.BuildNumber)
if pipeline.Target.Source != "" {
fmt.Printf("%s \033[1;34m[ %s → %s]\033[m\n", pipeline.Target.PullRequest.Title, pipeline.Target.Source, pipeline.Target.Destination)
fmt.Printf("%s \033[1;34m[ %s → %s] \033[37m%s\033[m\n", pipeline.Target.PullRequest.Title, pipeline.Target.Source, pipeline.Target.Destination, util.TimeAgo(pipeline.CreatedOn))
} else {
fmt.Printf("\033[1;34m[ %s ]\033[m\n", pipeline.Target.RefName)
}
Expand Down

0 comments on commit f58ea12

Please sign in to comment.