Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Fix environment config loading issue
Browse files Browse the repository at this point in the history
  • Loading branch information
a5anka committed Sep 19, 2019
1 parent d40a015 commit d49e76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/config/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ func CreateUserConfigWriter(cliConfig Config) SetConfig {

func createConfigReader(reader Reader, configDefaults map[string]string) GetConfig {
return func(key string) string {
return reader.GetString(configDefaults[key])
return reader.GetStringOrDefault(key, configDefaults[key])
}
}

0 comments on commit d49e76c

Please sign in to comment.