Skip to content

Commit

Permalink
fix(spf13#922): use helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Sep 5, 2019
1 parent 1c752f4 commit 0c4c291
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cobra/main.go
Expand Up @@ -20,7 +20,5 @@ import (
)

func main() {
if err := cmd.Execute(); err != nil {
os.Exit(1)
}
er(cmd.Execute())
}

0 comments on commit 0c4c291

Please sign in to comment.