Skip to content

Commit 77c3aab

Browse files
luzpazSysoev, Vladimir
authored and
Sysoev, Vladimir
committed
Fix typo overrided -> overridden (go-gitea#20687)
1 parent a543e6c commit 77c3aab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ func setAppHelpTemplates() {
171171
}
172172

173173
func adjustHelpTemplate(originalTemplate string) string {
174-
overrided := ""
174+
overridden := ""
175175
if _, ok := os.LookupEnv("GITEA_CUSTOM"); ok {
176-
overrided = "(GITEA_CUSTOM)"
176+
overridden = "(GITEA_CUSTOM)"
177177
}
178178

179179
return fmt.Sprintf(`%s
@@ -183,7 +183,7 @@ DEFAULT CONFIGURATION:
183183
AppPath: %s
184184
AppWorkPath: %s
185185
186-
`, originalTemplate, setting.CustomPath, overrided, setting.CustomConf, setting.AppPath, setting.AppWorkPath)
186+
`, originalTemplate, setting.CustomPath, overridden, setting.CustomConf, setting.AppPath, setting.AppWorkPath)
187187
}
188188

189189
func formatBuiltWith() string {

0 commit comments

Comments
 (0)