fix baseRepo type
This commit is contained in:
parent
cb20e9939f
commit
1bf8beb96d
1 changed files with 1 additions and 1 deletions
|
|
@ -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:/") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue