From b97ab80c188fef1d9470fa392ba22b91dd6095c4 Mon Sep 17 00:00:00 2001 From: Joyce Er Date: Wed, 20 Oct 2021 16:37:02 -0700 Subject: [PATCH] Fix typo in PAT auth flow error message --- extensions/github-authentication/src/githubServer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;