hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit c9526f6e3fdffe9e583e11d3513faa392576c305
parent df85e5a0aa03053f7ddfe6ebf8605e52024b1f15
Author: Anthony Fok <foka@debian.org>
Date:   Thu,  3 Dec 2015 00:28:09 -0700

Revise format for "Unable to locate Config file" error

Diffstat:
Mcommands/hugo.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/hugo.go b/commands/hugo.go
@@ -254,7 +254,7 @@ func InitializeConfig() error {
 		if _, ok := err.(viper.ConfigParseError); ok {
 			return newSystemError(err)
 		} else {
-			return newSystemError("Unable to locate Config file. Perhaps you need to create a new site. Run `hugo help new` for details", err)
+			return newSystemErrorF("Unable to locate Config file. Perhaps you need to create a new site.\n       Run `hugo help new` for details. (%s)\n", err)
 		}
 	}