From: Bjørn Erik Pedersen Date: Sun, 21 Dec 2025 12:45:12 +0000 (+0100) Subject: modules: Remove extended edition check X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a94a941fe3464d3997fd4f74f5cf9bc781bbc4aa;p=brevno-suite%2Fhugo modules: Remove extended edition check With WebP support now in the standard Hugo binary, this warning has too many false positives. Fixes #14284 --- diff --git a/modules/config.go b/modules/config.go index 71f85917b..0bf9d263e 100644 --- a/modules/config.go +++ b/modules/config.go @@ -369,21 +369,16 @@ func (v HugoVersion) String() string { // Hugo binary. func (v HugoVersion) IsValid() bool { current := hugo.CurrentVersion.Version() - if v.Extended && !hugo.IsExtended { - return false - } - - isValid := true if v.Min != "" && current.Compare(v.Min) > 0 { - isValid = false + return false } if v.Max != "" && current.Compare(v.Max) < 0 { - isValid = false + return false } - return isValid + return true } type Import struct {