fixing - need initialized map

This commit is contained in:
brent s. 2021-12-18 04:43:46 -05:00
parent 0e194a07f4
commit cf67bec392
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ func nativizeEnvMap(stringMap map[string]string) (envMap map[string]interface{})
var pathVar string = internal.GetPathEnvName()
var err error

envMap = make(map[string]interface{}, 0)

for k, v := range stringMap {

// Check for PATH/Path - we handle this uniquely.