fix linting

This commit is contained in:
Megan Marsh 2020-10-12 16:26:12 -07:00
parent c0ce8a9414
commit 1192e457ff
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ func main() {
// execute template into buffer
deprecated := &executeOpts{DeprecatedOpts: allDeprecatedOpts}
err = deprecatedOptsTemplate.Execute(&buf, deprecated)
if err != nil {
panic(err)
}
// we've written unformatted go code to the file. now we have to format it.
out, err := format.Source(buf.Bytes())
if err != nil {