From 56b688145fb1844295af25d8f93b47d8cc88fbaf Mon Sep 17 00:00:00 2001 From: Ayush Tiwari <55987406+ayushontop@users.noreply.github.com> Date: Tue, 13 May 2025 18:22:11 +0530 Subject: [PATCH] added cmd in repo_list.go for pipeline Co-authored-by: Terry Howe Signed-off-by: Ayush Tiwari <55987406+ayushontop@users.noreply.github.com> --- pkg/cmd/repo_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/repo_list.go b/pkg/cmd/repo_list.go index 6fd297334..b7a36cbf7 100644 --- a/pkg/cmd/repo_list.go +++ b/pkg/cmd/repo_list.go @@ -36,7 +36,7 @@ func newRepoListCmd(out io.Writer) *cobra.Command { Short: "list chart repositories", Args: require.NoArgs, ValidArgsFunction: noMoreArgsCompFunc, - RunE: func(_ *cobra.Command, _ []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { f, _ := repo.LoadFile(settings.RepositoryConfig) if len(f.Repositories) == 0 && outfmt != output.JSON && outfmt != output.YAML { fmt.Fprintln(cmd.ErrOrStderr(), "no repositories to show")