Fix ignored --config flag with 'new' command

This commit is contained in:
Kris Budhram 2018-11-17 22:20:43 -05:00 committed by Bjørn Erik Pedersen
parent 5df2b79dd2
commit e82b2dc8c1
2 changed files with 14 additions and 15 deletions

View file

@ -18,7 +18,6 @@ import (
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
"github.com/spf13/cobra"
"github.com/spf13/nitro"
)
@ -46,7 +45,7 @@ func (b *commandsBuilder) addAll() *commandsBuilder {
newCheckCmd(),
b.newBenchmarkCmd(),
newConvertCmd(),
newNewCmd(),
b.newNewCmd(),
newListCmd(),
newImportCmd(),
newGenCmd(),