:nail_polish: be clearer about the value passed to ResolveRemotesToRepos

`repo` will always be blank here, so replace the argument with a blank
literal instead.
This commit is contained in:
Mislav Marohnić 2020-07-02 12:36:31 +02:00
parent db88ac4155
commit cd5a0d69fb

View file

@ -317,7 +317,7 @@ func determineBaseRepo(apiClient *api.Client, cmd *cobra.Command, ctx context.Co
return nil, err
}
repoContext, err := context.ResolveRemotesToRepos(remotes, apiClient, repo)
repoContext, err := context.ResolveRemotesToRepos(remotes, apiClient, "")
if err != nil {
return nil, err
}