diff --git a/src/template.go b/src/template.go index 276b2e66..e3baf8a9 100644 --- a/src/template.go +++ b/src/template.go @@ -50,7 +50,7 @@ func (t *textTemplate) render() (string, error) { if err != nil { return "", errors.New(invalidTemplate) } - if strings.Contains(t.Template, ".Env") { + if strings.Contains(t.Template, ".Env.") { t.loadEnvVars() } buffer := new(bytes.Buffer)