projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dfc1de
)
Improved error message when config file not found.
author
spf13
<steve.francia@gmail.com>
Fri, 17 Oct 2014 00:20:39 +0000
(20:20 -0400)
committer
spf13
<steve.francia@gmail.com>
Fri, 17 Oct 2014 00:20:39 +0000
(20:20 -0400)
commands/hugo.go
patch
|
blob
|
history
diff --git
a/commands/hugo.go
b/commands/hugo.go
index 7ebd6371b8cf1789a1263ec142abcc2cf5ff570b..e3d8efa0ffaa83d944c3330c4177091463a7fc02 100644
(file)
--- 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")