diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-09-09 22:10:28 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-09-10 09:47:05 +0300 |
commit | d4611c4322dabfd8d2520232be578388029867db (patch) | |
tree | c68d7e14430b1f65021af6742b27a5496eb4aea4 /modules/config.go | |
parent | 20af9a078189ce1e92a1d2047c90fba2a4e91827 (diff) |
modules: Add noVendor to module config
Fixes #7647
Diffstat (limited to 'modules/config.go')
-rw-r--r-- | modules/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
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. |