Merge pull request #118 from two/master

remove redundant code
pull/121/head
Tony 6 years ago committed by GitHub
commit 1a3629992d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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