Skip to content

Commit

Permalink
refactor: better update command formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Oct 7, 2023
1 parent 736a72d commit 7a62d5c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions commands/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ var UpdateCommand = cli.Command{
if err != nil {
return err
}
if failed > 0 {
utils.LogLn()
}
if len(updateables) == 0 {
if failed > 0 {
utils.LogLn()
}
utils.LogInfo(
fmt.Sprintf(
"%s Everything is up-to-date.",
Expand All @@ -61,7 +61,6 @@ var UpdateCommand = cli.Command{
return nil
}

utils.LogLn()
summary := utils.NewLogTable()
headingColor := color.New(color.Underline, color.Bold)
summary.Add(
Expand Down

0 comments on commit 7a62d5c

Please sign in to comment.