cmd/geth: govet yo momma

This commit is contained in:
Jeffrey Wilcke 2017-02-20 13:58:51 +01:00
parent 764cc545e9
commit 5647876069

View file

@ -56,8 +56,7 @@ func reportBug(ctx *cli.Context) error {
// open a new GH issue // open a new GH issue
if !browser.Open(issueUrl + "?body=" + url.QueryEscape(buff.String())) { if !browser.Open(issueUrl + "?body=" + url.QueryEscape(buff.String())) {
fmt.Println("Please file a new issue at", issueUrl, "using this template:\n") fmt.Printf("Please file a new issue at %s using this template:\n%s", issueUrl, buff.String())
fmt.Println(buff.String())
} }
return nil return nil
} }