Skip to content

Commit

Permalink
helpers: Remove superflous formatting flag in deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jun 19, 2023
1 parent 49dd53a commit fdb0b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/general.go
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit fdb0b7f

Please sign in to comment.