We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c4dfb3 commit 4f8d471Copy full SHA for 4f8d471
config/config.go
@@ -81,19 +81,9 @@ func ParseConfigFile(fetcher ConfigDirectoryFetcher) Config {
81
config := Config{}
82
configDir, err := fetcher.GetUserConfigDir()
83
if err != nil {
84
- fmt.Printf(
85
- "Error determining the user config directory: %s\nUsing default config instead",
86
- err,
87
- )
88
return config
89
}
90
configPath := filepath.Join(configDir, "sesh", "sesh.toml")
91
-
92
- if err := parseConfigFromFile(configPath, &config); err != nil {
93
94
- "Error parsing config file: %s\nUsing default config instead",
95
96
97
- }
+ parseConfigFromFile(configPath, &config)
98
99
0 commit comments