don't map funcs twice

This commit is contained in:
Diego Fernando Carrión 2023-10-13 17:25:33 +02:00
parent f91067150c
commit 2d399eaaa7
Signed by: CRThaze
GPG Key ID: 0F647F8A6A3AF588

View File

@ -272,7 +272,7 @@ func main() {
if i > 0 {
fmt.Println(flags.outputDelimiter)
}
checkErr(tpl.Funcs(sprig.FuncMap()).ExecuteTemplate(os.Stdout, filepath.Base(file), values))
checkErr(tpl.ExecuteTemplate(os.Stdout, filepath.Base(file), values))
}
return
}