diff options
author | Bjørn Erik Pedersen <[email protected]> | 2019-03-25 18:18:34 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-03-26 10:20:40 +0100 |
commit | 4dae52af680e6ff2c8cdeb4ce1f219330b27001c (patch) | |
tree | db157b09fc15b25a07512581fbd80536fe8e18ee /magefile.go | |
parent | 794d4052b87c98943588b35e1cfecc06e6a0c7f2 (diff) | |
download | hugo-4dae52af680e6ff2c8cdeb4ce1f219330b27001c.tar.gz hugo-4dae52af680e6ff2c8cdeb4ce1f219330b27001c.zip |
Avoid nilpointer on no File on Page
Fixes #5781
Diffstat (limited to 'magefile.go')
-rw-r--r-- | magefile.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/magefile.go b/magefile.go index 04f0499a2..3b74a7e94 100644 --- a/magefile.go +++ b/magefile.go @@ -89,6 +89,7 @@ func Generate() error { // TODO(bep) check: stat ./resources/page/*autogen*: no such file or directory "./resources/page/page_marshaljson.autogen.go", "./resources/page/page_wrappers.autogen.go", + "./resources/page/zero_file.autogen.go", } for _, pattern := range goFmtPatterns { |