summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-07-03 15:42:21 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-07-03 15:42:21 -0600
commit6bcba91fbe1d11fa98dbaa75eeafcdce3921daf8 (patch)
tree06528f41d8831ad53057c3433a1ae30bc2ed3547
parentab101d75d0f2a855539d6fcf5d26af0fbec0db9e (diff)
Lowercase env var names in replacer
-rw-r--r--replacer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/replacer.go b/replacer.go
index aa1d35c..e21e3cf 100644
--- a/replacer.go
+++ b/replacer.go
@@ -106,7 +106,7 @@ var defaultReplacements = func() map[string]string {
if len(parts) != 2 {
continue
}
- m["env."+strings.ToUpper(parts[0])] = parts[1]
+ m["env."+strings.ToLower(parts[0])] = parts[1]
}
return m