modules: Disable "auto tidy" for now

See #6115
This commit is contained in:
Bjørn Erik Pedersen 2019-08-15 16:50:02 +02:00
parent 7f3aab5ac2
commit 321418f22a
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View 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,