From cd5a0d69fbddd10214895bcd58bd6a1e66dd596d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Thu, 2 Jul 2020 12:36:31 +0200 Subject: [PATCH] :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. --- command/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/root.go b/command/root.go index 83dfbd3f0..cf0e3cbb1 100644 --- a/command/root.go +++ b/command/root.go @@ -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 }