Fix preRunE return signature

This commit is contained in:
Wayne Warren 2018-12-20 10:26:54 -06:00
parent 380782a995
commit 77f5b8b4ec

View file

@ -798,7 +798,7 @@ func (c *Command) preRun() {
} }
} }
func (c *Command) preRunE() { func (c *Command) preRunE() error {
for _, x := range initializersWithError { for _, x := range initializersWithError {
err := x() err := x()
if err != nil { if err != nil {