Skip to content

Commit

Permalink
unnecessary code (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonglil authored Sep 9, 2021
1 parent afb78cd commit 484c4a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,8 @@ func wrapMain() error {
app.Action = run
app.Version = fmt.Sprintf("%s-%s", version, rev)
app.Flags = getAppFlags()
if err := app.Run(os.Args); err != nil {
return err
}

return nil
return app.Run(os.Args)
}

func run(c *cli.Context) error {
Expand Down

0 comments on commit 484c4a5

Please sign in to comment.