Skip to content

Commit

Permalink
Trivial: Fix typo (exepted -> expected) (#2440)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Scovetta <michael.scovetta@microsoft.com>

Signed-off-by: Michael Scovetta <michael.scovetta@microsoft.com>
  • Loading branch information
scovetta authored Nov 8, 2022
1 parent 4063fb6 commit e9c07da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/githubrepo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit e9c07da

Please sign in to comment.