Skip to content

Commit

Permalink
Change pterm default out to stderr for cleaner output capture
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-mccoy committed Feb 8, 2022
1 parent 5f09e22 commit d6cdeb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/internal/message/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const (
var logLevel = InfoLevel

func init() {
// Help capture text cleaner
pterm.SetDefaultOutput(os.Stderr)
pterm.ThemeDefault.SuccessMessageStyle = *pterm.NewStyle(pterm.FgLightGreen)
// Customize default error.
pterm.Success.Prefix = pterm.Prefix{
Expand Down

0 comments on commit d6cdeb5

Please sign in to comment.