mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02: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:
committed by
Bjørn Erik Pedersen
parent
01e54609e7
commit
15ec031d98
@@ -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 != "" {
|
||||
|
Reference in New Issue
Block a user