Skip to content

Commit

Permalink
fix templatePath
Browse files Browse the repository at this point in the history
  • Loading branch information
arti-shalb committed Jan 3, 2024
1 parent 38822cf commit 2be825b
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 2be825b

Please sign in to comment.