Add correct config file name to verbose server log - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 15ec031d9818d239bfbff525c00cd99cc3118a96
(DIR) parent 01e54609e78479aa793c64bc32feb66a3dacfade
(HTM) Author: Michael Henderson <mdhender@mdhender.com>
Date: Sun, 8 Oct 2017 22:23:07 -0600
Add correct config file name to verbose server log
Server logging uses the wrong variable when displaying
the configuration file name. This update changes the
log to use the `config` variable.
Diffstat:
M commands/hugo.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git 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 != "" {