mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 03:21:52 +00: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