Skip to content

Commit

Permalink
Fix typo overrided -> overridden (go-gitea#20687)
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored and Sysoev, Vladimir committed Aug 10, 2022
1 parent a543e6c commit 77c3aab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit 77c3aab

Please sign in to comment.