Skip to content

Commit

Permalink
Add a running step to the logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Stowe committed Oct 27, 2024
1 parent bfdce1a commit 5443549
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ func PrintPipeline(pipeline models.Pipeline, currentStage int, currentStep int,
} else if errOccurred && i == currentStage && j == currentStep {
status = "Failed "
colorFunc = color.New(color.FgRed).SprintFunc()
} else if i == currentStage && j == currentStep {
status = "Running"
colorFunc = color.New(color.FgCyan).SprintFunc()
}

// Add formatted step status to the table
Expand Down

0 comments on commit 5443549

Please # to comment.