diff options
author | Kris Budhram <krisbudhram@users.noreply.github.com> | 2018-11-17 22:20:43 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-11-18 19:09:28 +0100 |
commit | e82b2dc8c1628f2da33e5fb0bae1b03e0594ad2c (patch) | |
tree | e4f66ce1f18c6361ed522e391b91185435008f3b /commands/commands.go | |
parent | 5df2b79dd2734e9a00ed1692328f58c385676468 (diff) |
Fix ignored --config flag with 'new' command
Diffstat (limited to 'commands/commands.go')
-rw-r--r-- | commands/commands.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/commands.go b/commands/commands.go index 1bbcf8038..0a6ea8860 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -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(), |