Merge pull request #54 from egorse/master

The value expand fallback to actual ENV values
This commit is contained in:
John Barton
2018-04-05 15:36:34 +10:00
committed by GitHub

View File

@ -296,6 +296,9 @@ func parseValue(value string, envMap map[string]string) string {
if val, ok := envMap[key]; ok {
return val
}
if val, ok := os.LookupEnv(key); ok {
return val
}
return ""
})
return value