save file
This commit is contained in:
parent
8c63f40f56
commit
3a37ea3090
@ -104,8 +104,8 @@ func (c *Config) Parse() {
|
||||
}
|
||||
for k, v := range c.env {
|
||||
if failed && (v.parsed.err == nil) {
|
||||
if v.empty {
|
||||
if v.unset {
|
||||
if v.unset {
|
||||
if v.empty {
|
||||
v.parsed.err = errors.New(fmt.Sprintf(`Environment variable "%s" not found. It should have been of type %s.`, k, v.dtype))
|
||||
c.env[k] = v
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user