You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doctor: tell a network failure from a dead token in gh auth, and close the remaining #100 shapes in a repo #203
gh's human auth status output reports a non-timeout network failure (DNS can't resolve, connection refused) as "X Failed to log in … token invalid". Offline, doctor therefore relays "NOT authenticated". Newer gh (2.102.0 has it; 2.68.1 does not) offers gh auth status --json hosts, whose error field gives the real cause (it always exits 0). Adopt it when available, with the text parser as the fallback.
Activity