From 9a89bf81e02c196241770de79303ea53f5e711e7 Mon Sep 17 00:00:00 2001 From: Anand Sudhir Prayaga Date: Mon, 20 Aug 2018 14:24:34 +0200 Subject: [PATCH] Use new config file path in error message --- cfg/config_files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/config_files.go b/cfg/config_files.go index 149f4938..26595481 100644 --- a/cfg/config_files.go +++ b/cfg/config_files.go @@ -127,7 +127,7 @@ func LoadConfigFile(filePath string) *config.Config { cfg, err := config.ParseYamlFile(absPath) if err != nil { - fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.wtf\033[0m directory.\n See \033[1;34mhttps://github.com/senorprogrammer/wtf\033[0m for details.") + fmt.Println("\n\n\033[1m ERROR:\033[0m Could not load '\033[0;33mconfig.yml\033[0m'.\n Please add a \033[0;33mconfig.yml\033[0m file to your \033[0;33m~/.config/wtf\033[0m directory.\n See \033[1;34mhttps://github.com/senorprogrammer/wtf\033[0m for details.") fmt.Printf(" %s\n", err.Error()) os.Exit(1) }