Skip to content

Commit

Permalink
Merge pull request #247 from shalb/template-path-func
Browse files Browse the repository at this point in the history
fix templatePath
  • Loading branch information
romanprog authored Jan 3, 2024
2 parents 38822cf + 2be825b commit b87fc88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
38 changes: 0 additions & 38 deletions pkg/project/template_freader.go

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/project/templating.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (f *ExtendedFuncMap) Get(path string, s *Stack) template.FuncMap {
p = config.Global.ProjectConfigsPath
} else {
pathFuncName = "templatePath"
p = filepath.Join(s.TemplateDir)
p = filepath.Join(config.Global.ProjectConfigsPath, s.TemplateDir)
}
getPath := func() string {
return p
Expand Down

0 comments on commit b87fc88

Please sign in to comment.