remove unnecessary sprintf
This commit is contained in:
parent
5070d00811
commit
e8bbb4c3b5
@ -58,7 +58,7 @@ func TestActionFunc(c *cli.Context) error {
|
|||||||
var packageName string
|
var packageName string
|
||||||
|
|
||||||
if pkg == "cli" {
|
if pkg == "cli" {
|
||||||
packageName = fmt.Sprintf("github.com/urfave/cli")
|
packageName = "github.com/urfave/cli"
|
||||||
} else {
|
} else {
|
||||||
packageName = fmt.Sprintf("github.com/urfave/cli/%s", pkg)
|
packageName = fmt.Sprintf("github.com/urfave/cli/%s", pkg)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user