commands: Fix broken hugo --renderToMemory
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 2 Jan 2018 08:40:58 +0000 (09:40 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 2 Jan 2018 08:40:58 +0000 (09:40 +0100)
commitd36d71edd3b04df3b34edf4d108e3995a244c4f0
tree533edb1dc89eb739547077adc1dcbf145c9e9fc4
parenta54fd7df215c1eccb2749e2becdec93766a7b77f
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
commands/hugo.go