commit 15ec031d9818d239bfbff525c00cd99cc3118a96
parent 01e54609e78479aa793c64bc32feb66a3dacfade
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:
1 file changed, 1 insertion(+), 1 deletion(-)
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 != "" {