mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 06:13:25 +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
|
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()
|
themeDir := c.PathSpec().GetThemeDir()
|
||||||
if themeDir != "" {
|
if themeDir != "" {
|
||||||
|
|
Loading…
Reference in a new issue