1
0
mirror of https://github.com/golang/go synced 2024-11-05 21:26:11 -07:00
go/internal/gocommand
Rebecca Stambler f8bfb4ee30 internal/gocommand: fix environment on Windows
Seems like os.Environ() is necessary after all. My bad for not testing
my earlier change on Windows. I'm not able to reproduce the behavior
in my test, so it's not really testing the crash correctly.

Fixes golang/go#38062

Change-Id: Ied45bbf572023a9dcd5d020db49bf3e95c824602
Reviewed-on: https://go-review.googlesource.com/c/tools/+/226370
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-03-30 18:31:14 +00:00
..
invoke_test.go internal/gocommand: fix environment on Windows 2020-03-30 18:31:14 +00:00
invoke.go internal/gocommand: fix environment on Windows 2020-03-30 18:31:14 +00:00