don't map funcs twice
This commit is contained in:
parent
f91067150c
commit
2d399eaaa7
2
main.go
2
main.go
@ -272,7 +272,7 @@ func main() {
|
|||||||
if i > 0 {
|
if i > 0 {
|
||||||
fmt.Println(flags.outputDelimiter)
|
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
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user