cli / go-gh

A Go module for interacting with gh and the GitHub API from the command line.
https://pkg.go.dev/github.com/cli/go-gh/v2
MIT License
322 stars 45 forks source link

Only search secure storage for auth token #108

Closed samcoe closed 1 year ago

samcoe commented 1 year ago

Follow up to https://github.com/cli/go-gh/pull/107. This is a small optimization to only check the secure storage if auth token is not found in other locations.