fix list command
All checks were successful
Pre-commit / pre-commit (pull_request) Successful in 1m35s
All checks were successful
Pre-commit / pre-commit (pull_request) Successful in 1m35s
This commit is contained in:
2
list.go
2
list.go
@ -186,7 +186,7 @@ func ListCmd() *cli.Command {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return cliutils.FormatCliExit(gotext.Get("Error parsing format template"), err)
|
return cliutils.FormatCliExit(gotext.Get("Error parsing format template"), err)
|
||||||
}
|
}
|
||||||
err = tmpl.Execute(os.Stdout, pkg)
|
err = tmpl.Execute(os.Stdout, pkgInfo)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return cliutils.FormatCliExit(gotext.Get("Error executing template"), err)
|
return cliutils.FormatCliExit(gotext.Get("Error executing template"), err)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user