Skip to content

Commit

Permalink
Use NewUI in NewBasicUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Eckert committed Jul 22, 2022
1 parent 54363a7 commit 33890f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/common/terminal/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type basicUI struct {
// NewBasicUI creates a new instance of the basicUI struct for the terminal
// with color output.
func NewBasicUI(ctx context.Context) *basicUI {
return &basicUI{ctx: ctx, bufOut: color.Output}
return NewUI(ctx, color.Output)
}

// NewUI creates a new instance of the basicUI struct that outputs to
Expand Down

0 comments on commit 33890f4

Please sign in to comment.