Browse Source

Fix lint

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 5 years ago
parent
commit
8c51b8b67d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      formatter/pretty.go

+ 1 - 1
formatter/pretty.go

@@ -26,7 +26,7 @@ import (
 // PrintPrettySection prints a tabbed section on the writer parameter
 func PrintPrettySection(out io.Writer, printer func(writer io.Writer), headers ...string) error {
 	w := tabwriter.NewWriter(out, 20, 1, 3, ' ', 0)
-	fmt.Fprintln(w, strings.Join(headers, "\t"))
+	_, _ = fmt.Fprintln(w, strings.Join(headers, "\t"))
 	printer(w)
 	return w.Flush()
 }