From: Bjørn Erik Pedersen Date: Thu, 15 Aug 2019 14:50:02 +0000 (+0200) Subject: modules: Disable "auto tidy" for now X-Git-Tag: v0.57.1~6 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=321418f22a4a94b87f01e1403a2f4a71106461fb;p=brevno-suite%2Fhugo modules: Disable "auto tidy" for now See #6115 --- diff --git a/modules/collect.go b/modules/collect.go index 87f2720c..24b80a1d 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,