helpers: Remove superflous formatting flag in deprecation warnings

This commit is contained in:
Bjørn Erik Pedersen 2023-06-19 13:02:47 +02:00
parent 49dd53a405
commit fdb0b7fb19
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -261,7 +261,7 @@ func Deprecated(item, alternative string, err bool) {
if err {
loggers.Log().Errorf("%s is deprecated and will be removed in Hugo %s. %s", item, hugo.CurrentVersion.Next().ReleaseVersion(), alternative)
} else {
loggers.Log().Warnf("%s is deprecated and will be removed in a future release. %s%s", item, alternative)
loggers.Log().Warnf("%s is deprecated and will be removed in a future release. %s", item, alternative)
}
}