File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ func readConfig() {
2626 userConfigDir , _ := os .UserConfigDir ()
2727
2828 // Find valid config directory
29- if _ , err := os .Stat (path .Join (userConfigDir , "stormfetch/config.yaml " )); err == nil {
30- configPath = path .Join (userConfigDir , "stormfetch/config.yaml " )
31- } else if _ , err := os .Stat (path .Join (SystemConfigDir , "stormfetch/config.yaml " )); err == nil {
32- configPath = path .Join (SystemConfigDir , "stormfetch/config.yaml " )
29+ if _ , err := os .Stat (path .Join (userConfigDir , "stormfetch/config.yml " )); err == nil {
30+ configPath = path .Join (userConfigDir , "stormfetch/config.yml " )
31+ } else if _ , err := os .Stat (path .Join (SystemConfigDir , "stormfetch/config.yml " )); err == nil {
32+ configPath = path .Join (SystemConfigDir , "stormfetch/config.yml " )
3333 } else {
3434 log .Fatalf ("Config file not found: %s" , err .Error ())
3535 }
You can’t perform that action at this time.
0 commit comments