Skip to content

Commit

Permalink
Use new config file path in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
anandsudhir committed Aug 20, 2018
1 parent 28502b0 commit 9a89bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfg/config_files.go
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9a89bf8

Please sign in to comment.