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:
01e5460
)
Add correct config file name to verbose server log
author
Michael Henderson
<mdhender@mdhender.com>
Mon, 9 Oct 2017 04:23:07 +0000
(22:23 -0600)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Tue, 10 Oct 2017 05:47:35 +0000
(07:47 +0200)
Server logging uses the wrong variable when displaying
the configuration file name. This update changes the
log to use the `config` variable.
commands/hugo.go
patch
|
blob
|
history
diff --git
a/commands/hugo.go
b/commands/hugo.go
index 2c6e3ffef0f6781dae05a76ba89fff8573bd8a7f..4acc5c4e67610b0f3c866805f40401fa58eebced 100644
(file)
--- a/
commands/hugo.go
+++ b/
commands/hugo.go
@@
-391,7
+391,7
@@
func InitializeConfig(subCmdVs ...*cobra.Command) (*deps.DepsCfg, error) {
return nil, err
}
- cfg.Logger.INFO.Println("Using config file:",
viper
.ConfigFileUsed())
+ cfg.Logger.INFO.Println("Using config file:",
config
.ConfigFileUsed())
themeDir := c.PathSpec().GetThemeDir()
if themeDir != "" {