Skip to content

Commit

Permalink
Update tooling/templatize/pkg/config/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Kuznetsov <[email protected]>
  • Loading branch information
geoberle and stevekuznetsov authored Nov 25, 2024
1 parent ad2c1ff commit 3e780ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/templatize/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func PreprocessFile(templateFilePath string, vars map[string]any) ([]byte, error
return processedContent, nil
}

// PreprocessFile processes a gotemplate from memory
// PreprocessContent processes a gotemplate from memory
func PreprocessContent(content []byte, vars map[string]any) ([]byte, error) {
tmpl := template.New("file")
tmpl, err := tmpl.Parse(string(content))
Expand Down

0 comments on commit 3e780ee

Please sign in to comment.