aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorluzpaz2022-08-06 20:54:26 -0400
committerGitHub2022-08-06 20:54:26 -0400
commitd4326afb25ae84131d6b9fd61d6f869828f7704b (patch)
treef5554309c91852c6febf17bf760500927d46074e /main.go
parentcb97114e91b65d3b9cf757c68a94857447adc0e9 (diff)
Fix typo overrided -> overridden (#20687)
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index ac60f85a6..0e550f05e 100644
--- a/main.go
+++ b/main.go
@@ -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 {