modules: Disable "auto tidy" for now
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 15 Aug 2019 14:50:02 +0000 (16:50 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 15 Aug 2019 14:50:02 +0000 (16:50 +0200)
See #6115

modules/collect.go

index 87f2720c1f1ae9ce17b0e2e4552e01fcca0f6210..24b80a1d7a28e3e1d21808dfd73b1e7b49c537e0 100644 (file)
@@ -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,