shithub: hugo

Download patch

ref: 321418f22a4a94b87f01e1403a2f4a71106461fb
parent: 7f3aab5ac283ecfc7029b680d4c0a34920e728c8
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Thu Aug 15 12:50:02 EDT 2019

modules: Disable "auto tidy" for now

See #6115

--- a/modules/collect.go
+++ b/modules/collect.go
@@ -95,12 +95,13 @@
 		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,