remove redundant code

pull/118/head
two 6 years ago
parent 50b05a7b78
commit 5a302a6347
  1. 5
      tool/kratos-protoc/protoc.go

@ -101,10 +101,7 @@ func generate(ctx *cli.Context, protoc string) error {
cmd.Env = os.Environ()
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
if err := cmd.Run(); err != nil {
return err
}
return nil
return cmd.Run()
}
func goget(url string) error {

Loading…
Cancel
Save