Skip to content
Permalink
Browse files

modules: Disable "auto tidy" for now

See #6115
  • Loading branch information...
bep committed Aug 15, 2019
1 parent 7f3aab5 commit 321418f22a4a94b87f01e1403a2f4a71106461fb
Showing with 3 additions and 2 deletions.
  1. +3 −2 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,

0 comments on commit 321418f

Please sign in to comment.
You can’t perform that action at this time.