Skip to content

Commit

Permalink
Harmonize BeforeError usage in Command#Run
Browse files Browse the repository at this point in the history
  • Loading branch information
creekorful committed Apr 28, 2020
1 parent 33744eb commit c261e4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion command.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ func (c *Command) Run(ctx *Context) (err error) {
if c.Before != nil {
err = c.Before(context)
if err != nil {
_ = ShowCommandHelp(context, c.Name)
context.App.handleExitCoder(context, err)
return err
}
Expand Down

0 comments on commit c261e4d

Please sign in to comment.