mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-07 23:02:12 +02:00
commit
1a3629992d
@ -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…
Reference in New Issue
Block a user