Uncapitalize errors (#18915)

- See: https://github.com/golang/go/wiki/CodeReviewComments#error-strings

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Gusted 2022-02-26 12:15:32 +00:00 committed by GitHub
parent fa0e2d60c2
commit 6d55a132a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -106,7 +106,7 @@ func getOrgRepoCtx(ctx *context.Context) (*orgRepoCtx, error) {
}, nil
}
return nil, errors.New("Unable to set OrgRepo context")
return nil, errors.New("unable to set OrgRepo context")
}
func checkHookType(ctx *context.Context) string {