diff --git a/cmd/krew/cmd/list.go b/cmd/krew/cmd/list.go index 2b11b3c2..7a970c6b 100644 --- a/cmd/krew/cmd/list.go +++ b/cmd/krew/cmd/list.go @@ -72,10 +72,10 @@ Remarks: func printTable(out io.Writer, columns []string, rows [][]string) error { w := tabwriter.NewWriter(out, 0, 0, 2, ' ', 0) - fmt.Fprintf(w, strings.Join(columns, "\t")) + fmt.Fprint(w, strings.Join(columns, "\t")) fmt.Fprintln(w) for _, values := range rows { - fmt.Fprintf(w, strings.Join(values, "\t")) + fmt.Fprint(w, strings.Join(values, "\t")) fmt.Fprintln(w) } return w.Flush() diff --git a/hack/run-lint.sh b/hack/run-lint.sh index b04836c2..38a4c64d 100755 --- a/hack/run-lint.sh +++ b/hack/run-lint.sh @@ -23,7 +23,7 @@ gopath="$(go env GOPATH)" if ! [[ -x "$gopath/bin/golangci-lint" ]]; then echo >&2 'Installing golangci-lint' curl --silent --fail --location \ - https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b "$gopath/bin" v1.18.0 + https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b "$gopath/bin" v1.19.0 fi # configured by .golangci.yml