mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-04 10:34:55 +02:00
Rename appconfig to config
This commit is contained in:
parent
cb0bdd89c0
commit
0f5a073d57
@ -7,7 +7,6 @@ import (
|
||||
"github.com/jesseduffield/lazygit/pkg/i18n"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/viper"
|
||||
appconfig "github.com/jesseduffield/lazygit/pkg/config"
|
||||
yaml "gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
@ -22,7 +21,7 @@ func NewDummyOSCommand() *OSCommand {
|
||||
func NewDummyAppConfig() *config.AppConfig {
|
||||
userConfig := viper.New()
|
||||
userConfig.SetConfigType("yaml")
|
||||
if err := appconfig.LoadDefaults(userConfig, appconfig.GetDefaultConfig()); err != nil {
|
||||
if err := config.LoadDefaults(userConfig, config.GetDefaultConfig()); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
appConfig := &config.AppConfig{
|
||||
|
Loading…
Reference in New Issue
Block a user