Fix some typos

This commit is contained in:
huajin tong
2024-11-28 18:20:02 +08:00
committed by GitHub
parent 7e130e34f2
commit fc3d1cbadb
3 changed files with 3 additions and 3 deletions

View File

@@ -426,7 +426,7 @@ func DeprecateLevel(item, alternative, version string, level logg.Level) {
loggers.Log().Logger().WithLevel(level).WithField(loggers.FieldNameCmd, "deprecated").Logf(msg)
}
// We ususally do about one minor version a month.
// We usually do about one minor version a month.
// We want people to run at least the current and previous version without any warnings.
// We want people who don't update Hugo that often to see the warnings and errors before we remove the feature.
func deprecationLogLevelFromVersion(ver string) logg.Level {