Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmholmes committed Jun 17, 2024
1 parent 5692b42 commit 4539e15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/grizzly/tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ func findAndParseTemplates(vfs fs.FS, rootTmpl *template.Template, rootDir strin
templateName := strings.TrimPrefix(strings.TrimPrefix(path, rootDir), "/")
t := rootTmpl.New(templateName).Funcs(
template.FuncMap{
"IsWarning": func(i any) bool {
return IsWarning(i)
},
"IsWarning": IsWarning,
},
)
_, err = t.Parse(string(contents))
Expand Down

0 comments on commit 4539e15

Please sign in to comment.