mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 19:21:26 +00:00
parent
ab82a27d05
commit
059e8458d6
1 changed files with 5 additions and 1 deletions
|
@ -48,7 +48,11 @@ func init() {
|
|||
}
|
||||
|
||||
func benchmark(cmd *cobra.Command, args []string) error {
|
||||
c, err := InitializeConfig(false, nil, benchmarkCmd)
|
||||
cfgInit := func(c *commandeer) error {
|
||||
c.Set("renderToMemory", renderToMemory)
|
||||
return nil
|
||||
}
|
||||
c, err := InitializeConfig(false, cfgInit, benchmarkCmd)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue