diff --git a/extensions/github-authentication/src/githubServer.ts b/extensions/github-authentication/src/githubServer.ts index 856309904b7..fe0fbfd9e91 100644 --- a/extensions/github-authentication/src/githubServer.ts +++ b/extensions/github-authentication/src/githubServer.ts @@ -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;