Update cmd/all.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
bb6d30122d
commit
854d781965
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue