Fix benchmark panic

Need to initialize the Config with InitializeConfig().
This commit is contained in:
Noah Campbell 2013-11-01 20:36:11 -07:00
parent 23a711a29a
commit 23a5711d26

View file

@ -27,7 +27,10 @@ var benchmark = &cobra.Command{
Short: "Benchmark hugo by building a site a number of times", Short: "Benchmark hugo by building a site a number of times",
Long: `Hugo can build a site many times over and anlyze the Long: `Hugo can build a site many times over and anlyze the
running process creating a `, running process creating a `,
Run: bench, Run: func(cmd *cobra.Command, args []string) {
InitializeConfig()
bench(cmd, args)
},
} }
func init() { func init() {