1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-07 23:02:12 +02:00

Merge pull request #118 from two/master

remove redundant code
This commit is contained in:
Tony 2019-05-22 21:41:52 +08:00 committed by GitHub
commit 1a3629992d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {