diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-08-31 17:02:51 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-08-31 22:16:12 +0200 |
commit | 7d1f806ecb3621ae7b545a686d04de4568814055 (patch) | |
tree | 857a0bc6c7b79bb8b312063eeb71d143f6371e26 /commands/list.go | |
parent | 04b59599613a62d378bf3710ac0eb06c9543b96d (diff) |
commands: Don't fail on template errors on go mod graph etc.
Fixes #8942
Diffstat (limited to 'commands/list.go')
-rw-r--r-- | commands/list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/list.go b/commands/list.go index 3c09cad25..d62672f61 100644 --- a/commands/list.go +++ b/commands/list.go @@ -40,7 +40,7 @@ func (lc *listCmd) buildSites(config map[string]interface{}) (*hugolib.HugoSites return nil } - c, err := initializeConfig(true, false, &lc.hugoBuilderCommon, lc, cfgInit) + c, err := initializeConfig(true, true, false, &lc.hugoBuilderCommon, lc, cfgInit) if err != nil { return nil, err } |