From: Bjørn Erik Pedersen Date: Tue, 2 Jan 2018 08:40:58 +0000 (+0100) Subject: commands: Fix broken hugo --renderToMemory X-Git-Tag: v0.32.1~4 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d36d71edd3b04df3b34edf4d108e3995a244c4f0;p=brevno-suite%2Fhugo 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 --- diff --git a/commands/hugo.go b/commands/hugo.go index 743c5a26..7f0b6cd0 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -132,6 +132,7 @@ Complete documentation is available at http://gohugo.io/.`, if buildWatch { c.Set("disableLiveReload", true) } + c.Set("renderToMemory", renderToMemory) return nil }