aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands/new_theme.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-08-31 17:02:51 +0200
committerBjørn Erik Pedersen <[email protected]>2021-08-31 22:16:12 +0200
commit7d1f806ecb3621ae7b545a686d04de4568814055 (patch)
tree857a0bc6c7b79bb8b312063eeb71d143f6371e26 /commands/new_theme.go
parent04b59599613a62d378bf3710ac0eb06c9543b96d (diff)
downloadhugo-7d1f806ecb3621ae7b545a686d04de4568814055.tar.gz
hugo-7d1f806ecb3621ae7b545a686d04de4568814055.zip
commands: Don't fail on template errors on go mod graph etc.
Fixes #8942
Diffstat (limited to 'commands/new_theme.go')
-rw-r--r--commands/new_theme.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/new_theme.go b/commands/new_theme.go
index 965c2ca5f..9b1a4786c 100644
--- a/commands/new_theme.go
+++ b/commands/new_theme.go
@@ -52,7 +52,7 @@ as you see fit.`,
// newTheme creates a new Hugo theme template
func (n *newThemeCmd) newTheme(cmd *cobra.Command, args []string) error {
- c, err := initializeConfig(false, false, &n.hugoBuilderCommon, n, nil)
+ c, err := initializeConfig(false, false, false, &n.hugoBuilderCommon, n, nil)
if err != nil {
return err
}