diff options
author | Bjørn Erik Pedersen <[email protected]> | 2020-09-09 19:08:03 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-09-10 08:47:05 +0200 |
commit | 20af9a078189ce1e92a1d2047c90fba2a4e91827 (patch) | |
tree | 2249411bcbdf6318dc96a12fde816178bed364e2 /modules/client.go | |
parent | 9a1e6d15a31ec667b2ff9cf20e43b1daca61e004 (diff) | |
download | hugo-20af9a078189ce1e92a1d2047c90fba2a4e91827.tar.gz hugo-20af9a078189ce1e92a1d2047c90fba2a4e91827.zip |
modules: Add ignoreImports to module imports config
Fixes #7646
Diffstat (limited to 'modules/client.go')
-rw-r--r-- | modules/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/client.go b/modules/client.go index 914d06a4e..86f8a2caa 100644 --- a/modules/client.go +++ b/modules/client.go @@ -219,7 +219,7 @@ func (c *Client) Vendor() error { // This is the project. continue } - // We respect the --ignoreVendor flag even for the vendor command. + if !t.IsGoMod() && !t.Vendor() { // We currently do not vendor components living in the // theme directory, see https://github.com/gohugoio/hugo/issues/5993 |