TODO: this matches a token prefix itself. It could ask gh.AuthConfig.ActiveTokenType instead.
(token string)
| 361 | // TODO: this matches a token prefix itself. It could ask |
| 362 | // gh.AuthConfig.ActiveTokenType instead. |
| 363 | func expectScopes(token string) bool { |
| 364 | return strings.HasPrefix(token, "ghp_") || strings.HasPrefix(token, "gho_") |
| 365 | } |
| 366 | |
| 367 | type buildEntryOptions struct { |
| 368 | active bool |