diff --git a/command/repo.go b/command/repo.go index 2c0bdabfb..b00c3d87b 100644 --- a/command/repo.go +++ b/command/repo.go @@ -42,7 +42,7 @@ func repoView(cmd *cobra.Command, args []string) error { if err != nil { return err } - openURL = fmt.Sprintf("https://github.com/%s", ghrepo.FullName(*baseRepo)) + openURL = fmt.Sprintf("https://github.com/%s", ghrepo.FullName(baseRepo)) } else { repoArg := args[0] if strings.HasPrefix(repoArg, "http:/") || strings.HasPrefix(repoArg, "https:/") {