diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index 4eb2e047241..6418034b29b 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -234,7 +234,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I // TODO: remove this after GHPR and Codespaces move off of it async hasSession(providerId: string, scopes: readonly string[]) { checkProposedApiEnabled(extension); - return !!(await extHostAuthentication.getSession(extension, providerId, scopes, { solelyCheckExistence: true } as any)); + return !!(await extHostAuthentication.getSession(extension, providerId, scopes, { silent: true } as any)); }, get onDidChangeSessions(): Event { return extHostAuthentication.onDidChangeSessions;