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.Env = os.Environ()
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr
if err := cmd.Run(); err != nil { return cmd.Run()
return err
}
return nil
} }
func goget(url string) error { func goget(url string) error {

Loading…
Cancel
Save