commands: Fix broken hugo --renderToMemory

The `--renderToMemory` flag stopped working on `hugo` in 0.32.

Note that this is only useful for benchmark testing, as there is no easy way to actually view the result.

Fixes #4212
This commit is contained in:
Bjørn Erik Pedersen 2018-01-02 09:40:58 +01:00
parent a54fd7df21
commit d36d71edd3
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -132,6 +132,7 @@ Complete documentation is available at http://gohugo.io/.`,
if buildWatch {
c.Set("disableLiveReload", true)
}
c.Set("renderToMemory", renderToMemory)
return nil
}