Error message spelling fixes

This commit is contained in:
Jim Pick 2020-03-23 23:54:39 -07:00
parent 628a598ca0
commit bc914de388

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()