mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 13:40:38 +03:00
commands: Fix data race in test
Note that this is a test fix only.
This commit is contained in:
parent
f5eddf89bf
commit
0fbab7cbc5
6 changed files with 15 additions and 11 deletions
|
@ -302,6 +302,7 @@ func (c *commandeer) loadConfig() error {
|
|||
cfg := c.DepsCfg
|
||||
c.configured = false
|
||||
cfg.Running = c.running
|
||||
loggers.PanicOnWarning.Store(c.h.panicOnWarning)
|
||||
|
||||
var dir string
|
||||
if c.h.source != "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue