Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(go dynenv): π consider empty GOPATH the same as unset GOPATH (#326)
Go seems to consider an unset `GOPATH` the same as an empty-set `GOPATH`. This can be observed with: ``` $ GOPATH= && go env | grep GOPATH GOPATH='/Users/xaf/go' $ unset GOPATH && go env | grep GOPATH GOPATH='/Users/xaf/go' ``` This changes the dynamic environment to behave the same way when setting the value of `GOMODCACHE`.
- Loading branch information