Skip to content

Commit

Permalink
Fix typo overrided -> overridden (#20687)
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz authored Aug 7, 2022
1 parent cb97114 commit d4326af
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 d4326af

Please sign in to comment.