Merge pull request #2207 from cli/codespaces
[Codespaces] Support "integration" tokens
This commit is contained in:
commit
edecb2e4f7
4 changed files with 66 additions and 131 deletions
|
|
@ -98,7 +98,7 @@ func statusRun(opts *StatusOptions) error {
|
|||
if err != nil {
|
||||
var missingScopes *api.MissingScopesError
|
||||
if errors.As(err, &missingScopes) {
|
||||
addMsg("%s %s: %s", utils.Red("X"), hostname, err)
|
||||
addMsg("%s %s: the token in %s is %s", utils.Red("X"), hostname, tokenSource, err)
|
||||
if tokenIsWriteable {
|
||||
addMsg("- To request missing scopes, run: %s %s\n",
|
||||
utils.Bold("gh auth refresh -h"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue