Browse Source

Lowercase env var names in replacer

master
Matthew Holt 6 years ago
parent
commit
6bcba91fbe
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 2
      replacer.go

2
replacer.go

@ -106,7 +106,7 @@ var defaultReplacements = func() map[string]string {
if len(parts) != 2 { if len(parts) != 2 {
continue continue
} }
m["env."+strings.ToUpper(parts[0])] = parts[1] m["env."+strings.ToLower(parts[0])] = parts[1]
} }
return m return m

Loading…
Cancel
Save