mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
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.
This commit is contained in:
parent
01e54609e7
commit
15ec031d98
1 changed files with 1 additions and 1 deletions
|
@ -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 != "" {
|
||||
|
|
Loading…
Reference in a new issue