Skip to content

Commit

Permalink
Merge pull request #71 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 4.6.1
  • Loading branch information
andyone authored Mar 31, 2021
2 parents 73775d3 + ddcc970 commit cd5b8fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
// Application info
const (
APP = "bibop"
VER = "4.6.0"
VER = "4.6.1"
DESC = "Utility for testing command-line tools"
)

Expand Down
8 changes: 4 additions & 4 deletions render/renderer_terminal.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (rr *TerminalRenderer) ActionStarted(a *recipe.Action) {
}

rr.renderTmpMessage(
" {s-}─{!} {s~-}● {!}"+rr.formatActionName(a)+" {s}%s{!} {s-}[%s]{!}",
" {s-}─{!} {s~-}● {!}"+rr.formatActionName(a)+" {s}%s{!} {s-}[%s]{!}",
rr.formatActionArgs(a),
rr.formatDuration(time.Since(rr.start), false),
)
Expand All @@ -105,7 +105,7 @@ func (rr *TerminalRenderer) ActionStarted(a *recipe.Action) {
// ActionFailed prints info about failed action
func (rr *TerminalRenderer) ActionFailed(a *recipe.Action, err error) {
rr.renderTmpMessage(
" {s-}─{!} {r}✖ {!}"+rr.formatActionName(a)+" {s}%s{!}",
" {s-}─{!} {r}✖ {!}"+rr.formatActionName(a)+" {s}%s{!}",
rr.formatActionArgs(a),
)

Expand All @@ -120,12 +120,12 @@ func (rr *TerminalRenderer) ActionFailed(a *recipe.Action, err error) {
func (rr *TerminalRenderer) ActionDone(a *recipe.Action, isLast bool) {
if isLast {
rr.renderTmpMessage(
" {s-}─{!} {g}✔ {!}"+rr.formatActionName(a)+" {s}%s{!}",
" {s-}─{!} {g}✔ {!}"+rr.formatActionName(a)+" {s}%s{!}",
rr.formatActionArgs(a),
)
} else {
rr.renderTmpMessage(
" {s-}─{!} {g}✔ {!}"+rr.formatActionName(a)+" {s}%s{!}",
" {s-}─{!} {g}✔ {!}"+rr.formatActionName(a)+" {s}%s{!}",
rr.formatActionArgs(a),
)
}
Expand Down

0 comments on commit cd5b8fe

Please sign in to comment.