forked from gitea/gitea
1
0
Fork 0

Fix typo overrided -> overridden (#20687)

This commit is contained in:
luzpaz 2022-08-06 20:54:26 -04:00 committed by GitHub
parent cb97114e91
commit d4326afb25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -171,9 +171,9 @@ func setAppHelpTemplates() {
}
func adjustHelpTemplate(originalTemplate string) string {
overrided := ""
overridden := ""
if _, ok := os.LookupEnv("GITEA_CUSTOM"); ok {
overrided = "(GITEA_CUSTOM)"
overridden = "(GITEA_CUSTOM)"
}
return fmt.Sprintf(`%s
@ -183,7 +183,7 @@ DEFAULT CONFIGURATION:
AppPath: %s
AppWorkPath: %s
`, originalTemplate, setting.CustomPath, overrided, setting.CustomConf, setting.AppPath, setting.AppWorkPath)
`, originalTemplate, setting.CustomPath, overridden, setting.CustomConf, setting.AppPath, setting.AppWorkPath)
}
func formatBuiltWith() string {