Skip to content

Commit

Permalink
chore: add colors
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jul 22, 2024
1 parent 69e319a commit 85f4e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/upgrader/upgrader.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (u *Upgrader) Upgrade(ctx context.Context, yes, force bool) error {
}

if !yes {
log.Infof("Do you want to upgrade lefthook to %s? [Y/n] ", latestVersion)
log.Infof("Upgrade %s to %s? %s ", log.Cyan("lefthook"), log.Yellow(latestVersion), log.Gray("[Y/n]"))
scanner := bufio.NewScanner(os.Stdin)
scanner.Scan()
ans := scanner.Text()
Expand Down

0 comments on commit 85f4e23

Please sign in to comment.