just augment existing queries

This commit is contained in:
vilmibm 2020-01-22 12:37:00 -06:00
parent f09b05e628
commit 8c84fe3e3c
3 changed files with 10 additions and 71 deletions

View file

@ -215,14 +215,6 @@ func issueView(cmd *cobra.Command, args []string) error {
return err
}
issuesEnabled, err := api.HasIssuesEnabled(apiClient, baseRepo)
if err != nil {
return err
}
if !issuesEnabled {
return fmt.Errorf("the '%s/%s' repository has disabled issues", baseRepo.RepoOwner(), baseRepo.RepoName())
}
issue, err := issueFromArg(apiClient, baseRepo, args[0])
if err != nil {
return err