Merge pull request #1445 from jimpick/fix/spelling

Error message spelling fixes
This commit is contained in:
Whyrusleeping 2020-03-24 09:22:08 -07:00 committed by GitHub
commit 1d16857997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ func GetAPIInfo(ctx *cli.Context, t repo.RepoType) (APIInfo, error) {
p, err := homedir.Expand(ctx.String(repoFlag))
if err != nil {
return APIInfo{}, xerrors.Errorf("cound not exand home dir (%s): %w", repoFlag, err)
return APIInfo{}, xerrors.Errorf("cound not expand home dir (%s): %w", repoFlag, err)
}
r, err := repo.NewFS(p)
@ -119,7 +119,7 @@ func GetAPIInfo(ctx *cli.Context, t repo.RepoType) (APIInfo, error) {
ma, err := r.APIEndpoint()
if err != nil {
return APIInfo{}, xerrors.Errorf("could not get api enpoint: %w", err)
return APIInfo{}, xerrors.Errorf("could not get api endpoint: %w", err)
}
token, err := r.APIToken()