Skip to content

Commit

Permalink
test: added invalid custom file tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Nov 27, 2023
1 parent 30edb99 commit b70e6d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ func init() {

// Execute is the main execution function
func Execute() {
rootCmd.Execute()
if err := rootCmd.Execute(); err != nil {
log.Error(err)
os.Exit(1)
}

}

Expand Down

0 comments on commit b70e6d2

Please sign in to comment.