Skip to content

Commit

Permalink
accept os environs for protoc command (#306)
Browse files Browse the repository at this point in the history
Co-authored-by: sfwn <sfwnlin@gmail.com>
  • Loading branch information
chengjoey and sfwn authored Sep 11, 2023
1 parent 8cc2eb9 commit 69ed446
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/gohub/cmd/protoc/protoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func execProtoc(files, dirs, include []string, params ...string) {
proc.Stderr = os.Stderr
proc.Stdout = os.Stdout
proc.Stdin = os.Stdin
proc.Env = os.Environ()
err := proc.Run()
cmd.CheckError(err)
}
Expand Down

0 comments on commit 69ed446

Please sign in to comment.