allow all values from envs

This commit is contained in:
cupcakearmy 2021-10-31 22:45:03 +01:00
parent f71425be5b
commit 2826f9586d
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -253,12 +253,7 @@ func appendOptionsToSlice(str *[]string, options OptionMap) {
*str = append(*str, optionToString(key))
continue
}
// String
asString, ok := value.(string)
if ok {
*str = append(*str, optionToString(key), asString)
continue
}
*str = append(*str, optionToString(key), fmt.Sprint(value))
}
}
}