mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
helpers: Remove superflous formatting flag in deprecation warnings
This commit is contained in:
parent
49dd53a405
commit
fdb0b7fb19
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ func Deprecated(item, alternative string, err bool) {
|
||||||
if err {
|
if err {
|
||||||
loggers.Log().Errorf("%s is deprecated and will be removed in Hugo %s. %s", item, hugo.CurrentVersion.Next().ReleaseVersion(), alternative)
|
loggers.Log().Errorf("%s is deprecated and will be removed in Hugo %s. %s", item, hugo.CurrentVersion.Next().ReleaseVersion(), alternative)
|
||||||
} else {
|
} 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue