We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d72351 commit 0c50765Copy full SHA for 0c50765
color/color.go
@@ -306,15 +306,15 @@ func (c *Color) PrintfFunc() func(format string, a ...interface{}) {
306
// colorized with color.Fprintln().
307
func (c *Color) FprintlnFunc() func(w io.Writer, a ...interface{}) {
308
return func(w io.Writer, a ...interface{}) {
309
- c.Fprintln(w, a...)
+ _, _ = c.Fprintln(w, a...)
310
}
311
312
313
// PrintlnFunc returns a new function that prints the passed arguments as
314
// colorized with color.Println().
315
func (c *Color) PrintlnFunc() func(a ...interface{}) {
316
return func(a ...interface{}) {
317
- c.Println(a...)
+ _, _ = c.Println(a...)
318
319
320
0 commit comments