Skip to content

Commit

Permalink
fix: duplicating absolute path error with templating ./.reward/reward…
Browse files Browse the repository at this point in the history
…-env.yml
  • Loading branch information
janosmiko committed Feb 10, 2021
1 parent 6f6ac23 commit bfff62c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.11-beta
0.1.12-beta
4 changes: 2 additions & 2 deletions internal/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ func EnvBuildDockerComposeTemplate(t *template.Template, templateList *list.List
// ./.reward/reward-env.yml
// ./.reward/reward-env.os.yml
additionalTemplates := []string{
filepath.Join(fmt.Sprintf(".%[1]v/%[1]v-env.yml", AppName)),
filepath.Join(fmt.Sprintf(".%[1]v/%[1]v-env.%[2]v.yml", AppName, runtime.GOOS)),
AppName + "-env.yml",
fmt.Sprintf("%[1]v-env.%[2]v.yml", AppName, runtime.GOOS),
}

log.Traceln("AdditionalTemplatesPath: ", additionalTemplates)
Expand Down

0 comments on commit bfff62c

Please sign in to comment.