X Tutup
Skip to content

gh issue list returns graphql error #486

@alexstojda

Description

@alexstojda

Describe the bug

The gh issue list returns a graphql query error

Steps to reproduce the behaviour

  1. Initialize an empty repo on your local machine (git init in an empty folder)
  2. Type this 'gh issue list' in a repo with no remotes defined
  3. See error

Expected vs actual behaviour

Expected behaviour: An error message about there being no remote repositories defined and/or no associated github repo

Actual behavior: graphql error: 'Fragment repo was defined, but not used'

Logs

me@mycomputer: mydirectory$ gh issue list
graphql error: 'Fragment repo was defined, but not used'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority-2Affects more than a few users but doesn't prevent core functions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup