fix nil map
This commit is contained in:
		@@ -48,6 +48,9 @@ func NewConfig() *Config {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if unicode.IsLetter(getFirstRune(key)) {
 | 
								if unicode.IsLetter(getFirstRune(key)) {
 | 
				
			||||||
 | 
									if len(config.mapEnv[left]) == 0 {
 | 
				
			||||||
 | 
										config.mapEnv[left] = make(map[string]cEntry)
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
				var entry cEntry
 | 
									var entry cEntry
 | 
				
			||||||
				entry.value = splitted[1]
 | 
									entry.value = splitted[1]
 | 
				
			||||||
				entry.dtype = TypeNone
 | 
									entry.dtype = TypeNone
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user