From 321418f22a4a94b87f01e1403a2f4a71106461fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 15 Aug 2019 16:50:02 +0200 Subject: [PATCH] modules: Disable "auto tidy" for now See #6115 --- modules/collect.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/collect.go b/modules/collect.go index 87f2720c1..24b80a1d7 100644 --- a/modules/collect.go +++ b/modules/collect.go @@ -95,12 +95,13 @@ func (h *Client) collect(tidy bool) (ModulesConfig, *collector) { return ModulesConfig{}, c } - if !c.skipTidy && tidy { + // https://github.com/gohugoio/hugo/issues/6115 + /*if !c.skipTidy && tidy { if err := h.tidy(c.modules, true); err != nil { c.err = err return ModulesConfig{}, c } - } + }*/ return ModulesConfig{ AllModules: c.modules,