modules: Set GO111MODULE=on
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 26 Jul 2019 08:55:50 +0000 (10:55 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 26 Jul 2019 08:55:50 +0000 (10:55 +0200)
Fixes #6114

modules/client.go

index ac09721dce174f7b397bb00b2835dcc90266ef17..12c9ecffc15e6fa47bf1c171b957df6f45abd71f 100644 (file)
@@ -79,6 +79,7 @@ func NewClient(cfg ClientConfig) *Client {
 
        config.SetEnvVars(&env,
                "PWD", cfg.WorkingDir,
+               "GO111MODULE", "on",
                "GOPROXY", mcfg.Proxy,
                "GOPRIVATE", mcfg.Private,
                "GONOPROXY", mcfg.NoProxy)