mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
refactoring the config struct
This commit is contained in:
@ -18,10 +18,9 @@ func NewDummyLog() *logrus.Entry {
|
||||
|
||||
func NewDummyCommon() *common.Common {
|
||||
tr := i18n.EnglishTranslationSet()
|
||||
newAppConfig := config.NewDummyAppConfig()
|
||||
return &common.Common{
|
||||
Log: NewDummyLog(),
|
||||
Tr: &tr,
|
||||
UserConfig: newAppConfig.GetUserConfig(),
|
||||
UserConfig: config.GetDefaultConfig(),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user