ref: 15ec031d9818d239bfbff525c00cd99cc3118a96
parent: 01e54609e78479aa793c64bc32feb66a3dacfade
author: Michael Henderson <[email protected]>
date: Sun Oct 8 18:23:07 EDT 2017
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.
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -391,7 +391,7 @@
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 != "" {