From e9c07da413f291ac5a7e08f5d459cf69601130f2 Mon Sep 17 00:00:00 2001 From: Michael Scovetta Date: Tue, 8 Nov 2022 15:09:38 -0800 Subject: [PATCH] Trivial: Fix typo (exepted -> expected) (#2440) Signed-off-by: Michael Scovetta Signed-off-by: Michael Scovetta --- clients/githubrepo/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/githubrepo/repo.go b/clients/githubrepo/repo.go index 9dcade71e8d..7795d816d26 100644 --- a/clients/githubrepo/repo.go +++ b/clients/githubrepo/repo.go @@ -64,7 +64,7 @@ func (r *repoURL) parse(input string) error { const splitLen = 2 split := strings.SplitN(strings.Trim(u.Path, "/"), "/", splitLen) if len(split) != splitLen { - return sce.WithMessage(sce.ErrorInvalidURL, fmt.Sprintf("%v. Exepted full repository url", input)) + return sce.WithMessage(sce.ErrorInvalidURL, fmt.Sprintf("%v. Expected full repository url", input)) } r.host, r.owner, r.repo = u.Host, split[0], split[1]