Fix server data race/nil pointer in withMaps

Fixes #7392
This commit is contained in:
Bjørn Erik Pedersen
2020-06-16 10:42:41 +02:00
parent 522ba1cd98
commit 6408c1cbc8
4 changed files with 15 additions and 10 deletions

View File

@@ -263,7 +263,7 @@ func (h *HugoSites) assemble(bcfg *BuildCfg) error {
return nil
}
if err := h.content.AssemblePages(); err != nil {
if err := h.getContentMaps().AssemblePages(); err != nil {
return err
}