Skip to content

Commit

Permalink
refactor: check Check ewrrore
Browse files Browse the repository at this point in the history
  • Loading branch information
hui.wang committed Jan 24, 2022
1 parent 9143336 commit cddae63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xcmd/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ func main() {

xcmd.Add("empty")

xcmd.Check()
// panicPrintErr("comamnd check with err: %v", xcmd.Check())
panicPrintErr("comamnd check with err: %v", xcmd.Check())
panicPrintErr("comamnd Execute with err: %v", xcmd.Execute(context.Background(), os.Args[1:]...))
}

Expand Down

0 comments on commit cddae63

Please sign in to comment.