diff options
author | Bjørn Erik Pedersen <[email protected]> | 2020-06-16 10:42:41 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-06-16 11:48:10 +0200 |
commit | 6408c1cbc87f03fc9e92471165886ddbe7cdbeae (patch) | |
tree | abec79e04cb66f376d83d122a795ad1923b9bc54 /hugolib/hugo_sites_build.go | |
parent | 522ba1cd98ac67482061448c3a7528e68a720f0d (diff) | |
download | hugo-6408c1cbc87f03fc9e92471165886ddbe7cdbeae.tar.gz hugo-6408c1cbc87f03fc9e92471165886ddbe7cdbeae.zip |
Fix server data race/nil pointer in withMaps
Fixes #7392
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r-- | hugolib/hugo_sites_build.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go index fac20e883..f39e7a7e5 100644 --- a/hugolib/hugo_sites_build.go +++ b/hugolib/hugo_sites_build.go @@ -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 } |