Skip to content

Commit

Permalink
ignore gosec for filepath walk of templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Sep 4, 2018
1 parent ad27348 commit 70903d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func render(e *template.Engine, customRoot string, exportRoot string) error {
}
defer out.Close() // nolint: errcheck

in, err := os.Open(fn)
in, err := os.Open(fn) // nolint: gosec
if err != nil {
return errors.Wrapf(err, "failed to open template for reading: %s", fn)
}
Expand Down

0 comments on commit 70903d4

Please sign in to comment.