mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
helpers: Remove superflous formatting flag in deprecation warnings
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user