shithub: hugo

Download patch

ref: e5fe378925c16c75902bbb46499c376c530ebdb5
parent: da4c4a7789d403af3f4f4fdd5dfd3327535e4050
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Fri Jul 26 06:55:50 EDT 2019

modules: Set GO111MODULE=on

Fixes #6114

--- a/modules/client.go
+++ b/modules/client.go
@@ -79,6 +79,7 @@
 
 	config.SetEnvVars(&env,
 		"PWD", cfg.WorkingDir,
+		"GO111MODULE", "on",
 		"GOPROXY", mcfg.Proxy,
 		"GOPRIVATE", mcfg.Private,
 		"GONOPROXY", mcfg.NoProxy)