Skip to content

Commit

Permalink
Update components/consumers/pdf/main.go
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
northdpole and github-actions[bot] authored Nov 19, 2023
1 parent 32b78f7 commit 8e9cdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/consumers/pdf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func buildPdf(data any) string {
panic(err)
}
tmpl.Execute(f, data)
if err = f.Close(); err != nil{
if err = f.Close(); err != nil {
panic(err)
}
pw, err := playwright.Run()
Expand Down

0 comments on commit 8e9cdb8

Please sign in to comment.