summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/dummies.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/commands/dummies.go b/pkg/commands/dummies.go
index 166fa4c8c..57bf1bed9 100644
--- a/pkg/commands/dummies.go
+++ b/pkg/commands/dummies.go
@@ -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{