diff options
Diffstat (limited to 'modules/collect.go')
-rw-r--r-- | modules/collect.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/collect.go b/modules/collect.go index f5972a5b0..5f377c6dd 100644 --- a/modules/collect.go +++ b/modules/collect.go @@ -19,6 +19,7 @@ import ( "os" "path/filepath" "strings" + "time" "github.com/gohugoio/hugo/common/loggers" @@ -468,7 +469,7 @@ func (c *collector) applyThemeConfig(tc *moduleAdapter) error { } func (c *collector) collect() { - + defer c.logger.PrintTimerIfDelayed(time.Now(), "hugo: collected modules") if err := c.initModules(); err != nil { c.err = err return |