Skip to content

Commit 43aa901

Browse files
committed
fix relative paths in folders
1 parent 6ed3dbb commit 43aa901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internals/template/template.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ func run(context context.TemplateContext) {
3535
if !d.IsDir() {
3636
newContext := context
3737
newContext.Path = path
38+
newContext.Invoker = path
3839

3940
handleFile(newContext)
4041
} else if path != context.Path && !context.Options.Recursive {

0 commit comments

Comments
 (0)