URI: 
       Fix hugo benchmark --renderToMemory - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 059e8458d690dbb9fcd3ebd58cfc61b062d3138e
   DIR parent ab82a27d055c3aa177821d81a45a5c6e972aa29e
  HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Sat,  6 Jan 2018 10:37:04 +0100
       
       Fix hugo benchmark --renderToMemory
       
       Fixes #4218
       
       Diffstat:
         M commands/benchmark.go               |       6 +++++-
       
       1 file changed, 5 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/commands/benchmark.go b/commands/benchmark.go
       @@ -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
                }