summaryrefslogtreecommitdiff
path: root/template.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2023-03-19 21:31:54 -0400
committerDave Henderson <dhenderson@gmail.com>2023-03-19 21:31:54 -0400
commite34b2a5d28970f0fd3ae677180a1e33488245a4c (patch)
treeef090e783ace329dac9df1d92ed237469a466e9d /template.go
parente89af5debb3a5d15a571d501bdd12b1fd8861cea (diff)
fix new lint errors
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'template.go')
-rw-r--r--template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go
index c4c318ed..f9679b47 100644
--- a/template.go
+++ b/template.go
@@ -156,7 +156,7 @@ func parseNestedTemplateDir(ctx context.Context, fsys fs.FS, alias, fname string
return nil
}
-func parseNestedTemplate(ctx context.Context, fsys fs.FS, alias, fname string, tmpl *template.Template) error {
+func parseNestedTemplate(_ context.Context, fsys fs.FS, alias, fname string, tmpl *template.Template) error {
b, err := fs.ReadFile(fsys, fname)
if err != nil {
return fmt.Errorf("readFile %q: %w", fname, err)