Linter fixes numero 2 (#4408)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2024-02-14 17:14:31 -05:00
1 parent 25bce9e8ff
commit 49803e653c
23 files changed
+172 -109

No files matched your search

+1 -2
View File
@@ -10,7 +10,6 @@ import (
"flag"
"fmt"
"io"
"io/ioutil"
"os"
"os/signal"
"regexp"
@@ -517,7 +516,7 @@ func NewFlagSets(ui cli.Ui) *FlagSets {
// Errors and usage are controlled by the CLI.
mainSet.Usage = func() {}
mainSet.SetOutput(ioutil.Discard)
mainSet.SetOutput(io.Discard)
return &FlagSets{
flagSets: make([]*FlagSet, 0, 6),