From 854d781965f36762bc99ff301952d3bbf5c04eb2 Mon Sep 17 00:00:00 2001 From: Snider Date: Sun, 2 Nov 2025 23:08:50 +0000 Subject: [PATCH] Update cmd/all.go Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- cmd/all.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/all.go b/cmd/all.go index 0821b5c..93b3265 100644 --- a/cmd/all.go +++ b/cmd/all.go @@ -25,7 +25,7 @@ var allCmd = &cobra.Command{ fmt.Fprintln(os.Stderr, "Error: logger not properly initialised") return } - repos, err := GithubClient.GetPublicRepos(context.Background(), args[0]) + repos, err := GithubClient.GetPublicRepos(cmd.Context(), args[0]) if err != nil { log.Error("failed to get public repos", "err", err) return