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/config.go | |
parent | 04b59599613a62d378bf3710ac0eb06c9543b96d (diff) |
commands: Don't fail on template errors on go mod graph etc.
Fixes #8942
Diffstat (limited to 'commands/config.go')
-rw-r--r-- | commands/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/config.go b/commands/config.go index 87c8c90d6..645331953 100644 --- a/commands/config.go +++ b/commands/config.go @@ -62,7 +62,7 @@ func (b *commandsBuilder) newConfigCmd() *configCmd { } func (c *configCmd) printMounts(cmd *cobra.Command, args []string) error { - cfg, err := initializeConfig(true, false, &c.hugoBuilderCommon, c, nil) + cfg, err := initializeConfig(true, false, false, &c.hugoBuilderCommon, c, nil) if err != nil { return err } @@ -78,7 +78,7 @@ func (c *configCmd) printMounts(cmd *cobra.Command, args []string) error { } func (c *configCmd) printConfig(cmd *cobra.Command, args []string) error { - cfg, err := initializeConfig(true, false, &c.hugoBuilderCommon, c, nil) + cfg, err := initializeConfig(true, false, false, &c.hugoBuilderCommon, c, nil) if err != nil { return err } |