Skip to content

Commit

Permalink
Simplify "if" block
Browse files Browse the repository at this point in the history
  • Loading branch information
guessi committed Feb 16, 2024
1 parent e16cd4c commit 9f6f330
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ func main() {
},
}

err := app.Run(os.Args)
if err != nil {
if err := app.Run(os.Args); err != nil {
os.Exit(1)
}
}

0 comments on commit 9f6f330

Please sign in to comment.