aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-06-19 13:02:47 +0200
committerBjørn Erik Pedersen <[email protected]>2023-06-19 13:02:47 +0200
commitfdb0b7fb19404198ffb8bb3a2ff0aae325db0233 (patch)
tree5c0a89b62ed6360ff974f59dc1debc6eff8026c9
parent49dd53a40591f1404f89fab0daaac3eef09e5dd4 (diff)
downloadhugo-fdb0b7fb19404198ffb8bb3a2ff0aae325db0233.tar.gz
hugo-fdb0b7fb19404198ffb8bb3a2ff0aae325db0233.zip
helpers: Remove superflous formatting flag in deprecation warnings
-rw-r--r--helpers/general.go2
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)
}
}