Permalink
Browse files

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.
  • Loading branch information...
mdhender authored and bep committed Oct 9, 2017
1 parent 01e5460 commit 15ec031d9818d239bfbff525c00cd99cc3118a96
Showing with 1 addition and 1 deletion.
  1. +1 −1 commands/hugo.go
View
@@ -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 != "" {

0 comments on commit 15ec031

Please sign in to comment.