From 70903d401f810b39030897c6d19c95594080ee88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= Date: Tue, 4 Sep 2018 18:36:17 -0400 Subject: [PATCH] ignore gosec for filepath walk of templates --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a8d76c1..e96ba41 100644 --- a/main.go +++ b/main.go @@ -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) }