remove empty map
This commit is contained in:
parent
19fdcd7e05
commit
6fea990cb9
@ -79,7 +79,7 @@ func NewConfig() *Config {
|
||||
lmiddle := splitted[count]
|
||||
rmiddle := splitted[count+1]
|
||||
right = strings.Trim(strings.Join(splitted[count+2:], "_"), "_")
|
||||
if len(config.mapMapEnv[left][lmiddle][rmiddle]) == 0 {
|
||||
if len(config.mapMapMapEnv[left][lmiddle][rmiddle]) == 0 {
|
||||
config.mapMapMapEnv[left][lmiddle][rmiddle] = make(map[string]string)
|
||||
}
|
||||
if left != "" && lmiddle != "" && rmiddle != "" && right != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user