From d4611c4322dabfd8d2520232be578388029867db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 9 Sep 2020 21:10:28 +0200 Subject: modules: Add noVendor to module config Fixes #7647 --- modules/config.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/config.go') diff --git a/modules/config.go b/modules/config.go index 5e95f0ac1..1964479f4 100644 --- a/modules/config.go +++ b/modules/config.go @@ -227,6 +227,10 @@ type Config struct { // Will be validated against the running Hugo version. HugoVersion HugoVersion + // A optional Glob pattern matching module paths to skip when vendoring, e.g. + // "github.com/**". + NoVendor string + // Configures GOPROXY. Proxy string // Configures GONOPROXY. -- cgit v1.2.3