mirror of
https://github.com/gohugoio/hugo.git
synced 2025-01-22 08:51:12 +00:00
modules: Print required Hugo version for incompatible modules
This commit is contained in:
parent
63e0a92894
commit
60d954c785
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ func (m ModulesConfig) HasConfigFile() bool {
|
|||
func (m *ModulesConfig) setActiveMods(logger loggers.Logger) error {
|
||||
for _, mod := range m.AllModules {
|
||||
if !mod.Config().HugoVersion.IsValid() {
|
||||
logger.Warnf(`Module %q is not compatible with this Hugo version; run "hugo mod graph" for more information.`, mod.Path())
|
||||
logger.Warnf(`Module %q is not compatible with this Hugo version: %s; run "hugo mod graph" for more information.`, mod.Path(), mod.Config().HugoVersion)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue