mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Fix typo in PAT auth flow error message
This commit is contained in:
parent
f883017206
commit
b97ab80c18
|
@ -146,7 +146,7 @@ export class GitHubServer implements IGitHubServer {
|
|||
return tokenScopes.includes(splitScopes);
|
||||
});
|
||||
})) {
|
||||
throw new Error(`The provided token is does not match the requested scopes: ${scopes}`);
|
||||
throw new Error(`The provided token does not match the requested scopes: ${scopes}`);
|
||||
}
|
||||
|
||||
return token;
|
||||
|
@ -384,7 +384,7 @@ export class GitHubEnterpriseServer implements IGitHubServer {
|
|||
return tokenScopes.includes(splitScopes);
|
||||
});
|
||||
})) {
|
||||
throw new Error(`The provided token is does not match the requested scopes: ${scopes}`);
|
||||
throw new Error(`The provided token does not match the requested scopes: ${scopes}`);
|
||||
}
|
||||
|
||||
return token;
|
||||
|
|
Loading…
Reference in a new issue