From 77f5b8b4ecefec97348251ff39c259c38f8b844a Mon Sep 17 00:00:00 2001 From: Wayne Warren Date: Thu, 20 Dec 2018 10:26:54 -0600 Subject: [PATCH] Fix preRunE return signature --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index 7e1123c7..c13ee1ec 100644 --- a/command.go +++ b/command.go @@ -798,7 +798,7 @@ func (c *Command) preRun() { } } -func (c *Command) preRunE() { +func (c *Command) preRunE() error { for _, x := range initializersWithError { err := x() if err != nil {