diff --git a/pkg/files/render.go b/pkg/files/render.go index decca17..7ada361 100644 --- a/pkg/files/render.go +++ b/pkg/files/render.go @@ -67,6 +67,10 @@ func renderFile(cfg *config.File) error { } tpl, err := template.New(cfg.Target).Parse(string(tplContents)) + if err != nil { + return err + } + folderPath, err := filepath.Abs(filepath.Dir(cfg.Target)) if err != nil { return err