Skip to content

Commit b87fc88

Browse files
authored
Merge pull request #247 from shalb/template-path-func
fix templatePath
2 parents 38822cf + 2be825b commit b87fc88

File tree

2 files changed

+1
-39
lines changed

2 files changed

+1
-39
lines changed

pkg/project/template_freader.go

Lines changed: 0 additions & 38 deletions
This file was deleted.

pkg/project/templating.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (f *ExtendedFuncMap) Get(path string, s *Stack) template.FuncMap {
5555
p = config.Global.ProjectConfigsPath
5656
} else {
5757
pathFuncName = "templatePath"
58-
p = filepath.Join(s.TemplateDir)
58+
p = filepath.Join(config.Global.ProjectConfigsPath, s.TemplateDir)
5959
}
6060
getPath := func() string {
6161
return p

0 commit comments

Comments
 (0)