This commit is contained in:
chrislu
2023-11-26 11:47:20 -08:00
parent 666a22b980
commit 81f11883e3
7 changed files with 20 additions and 21 deletions

View File

@@ -1065,7 +1065,7 @@ func (f *FlagSet) ParseEnv(environ []string) error {
}
envKey = strings.Replace(envKey, "-", "_", -1)
envKey = strings.Replace(envKey, ".", "_", -1)
value, isSet := env[envKey]
if !isSet {
continue