Fix various typos (#21103)
Found via `codespell -q 3 -S ./options/locale,./options/license,./public/vendor,./web_src/fomantic -L actived,allways,attachements,ba,befores,commiter,pullrequest,pullrequests,readby,splitted,te,unknwon` Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
5c70e6aff0
commit
cb3b3e519f
10 changed files with 11 additions and 11 deletions
|
@ -28,7 +28,7 @@ type ActivityAuthorData struct {
|
|||
Commits int64 `json:"commits"`
|
||||
}
|
||||
|
||||
// ActivityStats represets issue and pull request information.
|
||||
// ActivityStats represents issue and pull request information.
|
||||
type ActivityStats struct {
|
||||
OpenedPRs issues_model.PullRequestList
|
||||
OpenedPRAuthorCount int64
|
||||
|
|
|
@ -49,7 +49,7 @@ func TestHasOwnerPackages(t *testing.T) {
|
|||
assert.NotNil(t, pv)
|
||||
assert.NoError(t, err)
|
||||
|
||||
// A package with an internal package version gets automaticaly cleaned up and should return false
|
||||
// A package with an internal package version gets automatically cleaned up and should return false
|
||||
has, err = packages_model.HasOwnerPackages(db.DefaultContext, owner.ID)
|
||||
assert.False(t, has)
|
||||
assert.NoError(t, err)
|
||||
|
|
|
@ -27,7 +27,7 @@ import (
|
|||
"xorm.io/builder"
|
||||
)
|
||||
|
||||
// ErrUserDoesNotHaveAccessToRepo represets an error where the user doesn't has access to a given repo.
|
||||
// ErrUserDoesNotHaveAccessToRepo represents an error where the user doesn't has access to a given repo.
|
||||
type ErrUserDoesNotHaveAccessToRepo struct {
|
||||
UserID int64
|
||||
RepoName string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue