Skip to content

Commit

Permalink
internal/cmd/docgen: use "missingkey=error" (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin authored May 9, 2022
1 parent 62c7110 commit bdaad2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cmd/docgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ func mainerr() (err error) {
// Initialize template.
t := template.New("doc")

t.Option("missingkey=error")

t.Funcs(template.FuncMap{
"include": include,
"snippet": snippet,
Expand Down

0 comments on commit bdaad2b

Please sign in to comment.