Fix vet issue
This commit is contained in:
parent
0f92cf9058
commit
67111d46d6
4
main.go
4
main.go
|
@ -3,7 +3,6 @@ package main
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -91,8 +90,7 @@ func helpFunc(commands map[string]cli.CommandFactory) string {
|
||||||
|
|
||||||
command, err := commandFunc()
|
command, err := commandFunc()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[ERR] cli: Command '%s' failed to load: %s",
|
fmt.Fprintf(os.Stderr, "[ERR] cli: Command '%s' failed to load: %s", key, err)
|
||||||
key, err)
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue