diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2022-07-12 17:32:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 23:32:37 +0200 |
commit | d29d6d1991496cc688e9418db4960ca945fd9d6b (patch) | |
tree | 878dcc8a2c8621f9328d5093c6003d664d6fe9ed /modules/doctor | |
parent | 966e7bdc9b875abb7192cd572beec40123a815da (diff) | |
download | gitea-d29d6d1991496cc688e9418db4960ca945fd9d6b.tar.gz gitea-d29d6d1991496cc688e9418db4960ca945fd9d6b.zip |
Fix various typos (#20338)
* Fix various typos
Found via `codespell -q 3 -S ./options/locale,./options/license,./public/vendor -L actived,allways,attachements,ba,befores,commiter,pullrequest,pullrequests,readby,splitted,te,unknwon`
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'modules/doctor')
-rw-r--r-- | modules/doctor/breaking.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/doctor/breaking.go b/modules/doctor/breaking.go index 3e01d97d7c..391c8e76c5 100644 --- a/modules/doctor/breaking.go +++ b/modules/doctor/breaking.go @@ -32,8 +32,8 @@ func iterateUserAccounts(ctx context.Context, each func(*user.User) error) error // Ref: https://github.com/go-gitea/gitea/pull/19085 & https://github.com/go-gitea/gitea/pull/17688 func checkUserEmail(ctx context.Context, logger log.Logger, _ bool) error { // We could use quirky SQL to get all users that start without a [a-zA-Z0-9], but that would mean - // DB provider-specific SQL and only works _now_. So instead we iterate trough all user accounts and - // use the user.ValidateEmail function to be future-proof. + // DB provider-specific SQL and only works _now_. So instead we iterate through all user accounts + // and use the user.ValidateEmail function to be future-proof. var invalidUserCount int64 if err := iterateUserAccounts(ctx, func(u *user.User) error { // Only check for users, skip |