commit 20467e36b43b3146e3b82f43a5631fcdb8622fd9
parent 5dfc1dedb8ac53b7a2d3823d06808ae86f90b3d9
Author: spf13 <steve.francia@gmail.com>
Date: Thu, 16 Oct 2014 20:20:39 -0400
Improved error message when config file not found.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/hugo.go b/commands/hugo.go
@@ -94,7 +94,7 @@ func InitializeConfig() {
viper.AddConfigPath(Source)
err := viper.ReadInConfig()
if err != nil {
- jww.ERROR.Println("Config not found... using only defaults, stuff may not work")
+ jww.ERROR.Println("Unable to locate Config file. Perhaps you need to create a new site. Run `hugo help new` for details")
}
viper.RegisterAlias("taxonomies", "indexes")