diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-06-19 13:02:47 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-06-19 13:02:47 +0200 |
commit | fdb0b7fb19404198ffb8bb3a2ff0aae325db0233 (patch) | |
tree | 5c0a89b62ed6360ff974f59dc1debc6eff8026c9 | |
parent | 49dd53a40591f1404f89fab0daaac3eef09e5dd4 (diff) | |
download | hugo-fdb0b7fb19404198ffb8bb3a2ff0aae325db0233.tar.gz hugo-fdb0b7fb19404198ffb8bb3a2ff0aae325db0233.zip |
helpers: Remove superflous formatting flag in deprecation warnings
-rw-r--r-- | helpers/general.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/general.go b/helpers/general.go index d1df2e335..d476b9125 100644 --- a/helpers/general.go +++ b/helpers/general.go @@ -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) } } |