mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Fix --printPathWarnings when site calls templates.Defer
This issue was introduced recently in eb7a5aabaa
.
Fixes #13420
This commit is contained in:
@@ -85,7 +85,8 @@ type HugoSites struct {
|
||||
|
||||
pageTrees *pageTrees
|
||||
|
||||
postRenderInit sync.Once
|
||||
printUnusedTemplatesInit sync.Once
|
||||
printPathWarningsInit sync.Once
|
||||
|
||||
// File change events with filename stored in this map will be skipped.
|
||||
skipRebuildForFilenamesMu sync.Mutex
|
||||
|
Reference in New Issue
Block a user