We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bc6311 commit aa183d7Copy full SHA for aa183d7
utils/utils.go
@@ -75,7 +75,5 @@ func Humanize(s string) string {
75
}
76
77
func Spinner(w io.Writer) *spinner.Spinner {
78
- s := spinner.New(spinner.CharSets[11], 400*time.Millisecond)
79
- s.Writer = w
80
- return s
+ return spinner.New(spinner.CharSets[11], 400*time.Millisecond, spinner.WithWriter(w))
81
0 commit comments