Skip to content

Commit

Permalink
modules: Disable "auto tidy" for now
Browse files Browse the repository at this point in the history
See #6115
  • Loading branch information
bep committed Aug 15, 2019
1 parent 7f3aab5 commit 321418f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/collect.go
Expand Up @@ -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,
Expand Down

0 comments on commit 321418f

Please sign in to comment.