capture std err when getting required plugins for go (#4141)

* capture std err when getting required plugins for go
This commit is contained in:
Evan Boyle 2020-03-20 14:59:12 -07:00 committed by GitHub
parent 61caba976b
commit c28c602247
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,8 @@ CHANGELOG
## HEAD (unreleased)
- Move to a multi-module repo to enable modules for the Go SDK
[#4109](https://github.com/pulumi/pulumi/pull/4109)
- Report compile time errors for Go programs during plugin acquisition.
[#4141](https://github.com/pulumi/pulumi/pull/4141)
## 1.13.0 (2020-03-18)
- Add support for plugin acquisition for Go programs

View file

@ -167,6 +167,7 @@ func (host *goLanguageHost) GetRequiredPlugins(ctx context.Context,
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, "PULUMI_PLUGINS=true")
cmd.Stderr = os.Stderr
stdout, err := cmd.Output()
if err != nil {