Skip to content

Commit

Permalink
Add errCheck where it was overlooked
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhisheke Acharya committed Dec 31, 2023
1 parent 5753fb3 commit d927893
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ func Execute() error {
}
}

if err := rootCmd.Execute(); err != nil {
return err
}
err := rootCmd.Execute()
errCheck(err)
fmt.Println("Athena v1.0.0 Starting")

fmt.Println("Getting Configuration File: ", configFile, "...")
Expand Down

0 comments on commit d927893

Please sign in to comment.