Skip to content

Commit

Permalink
fix atmos version command
Browse files Browse the repository at this point in the history
  • Loading branch information
samtholiya committed Jan 13, 2025
1 parent 55c1362 commit 6a893e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ var RootCmd = &cobra.Command{
cmd.SilenceUsage = true
cmd.SilenceErrors = true
}
handleHelpRequest(cmd, args)
checkAtmosConfig()
},
Run: func(cmd *cobra.Command, args []string) {
// Check Atmos configuration
Expand Down Expand Up @@ -108,7 +106,6 @@ func Execute() error {
if err != nil {
if strings.Contains(err.Error(), "unknown command") {
command := getInvalidCommandName(err.Error())
fmt.Println("_______REOO__________")
showUsageAndExit(RootCmd, []string{command})
}
}
Expand Down

0 comments on commit 6a893e9

Please sign in to comment.