diff --git a/apps/x/packages/core/src/auth/github-copilot-auth.ts b/apps/x/packages/core/src/auth/github-copilot-auth.ts index 43465c0c..03d5490f 100644 --- a/apps/x/packages/core/src/auth/github-copilot-auth.ts +++ b/apps/x/packages/core/src/auth/github-copilot-auth.ts @@ -7,7 +7,6 @@ import container from '../di/container.js'; import { IOAuthRepo } from './repo.js'; -import { OAuthTokens } from './types.js'; import { getProviderConfig } from './providers.js'; import * as deviceFlow from './github-copilot-device-flow.js'; import * as oauthClient from './oauth-client.js'; diff --git a/apps/x/packages/core/src/auth/github-copilot-device-flow.ts b/apps/x/packages/core/src/auth/github-copilot-device-flow.ts index 6af1b904..8900249a 100644 --- a/apps/x/packages/core/src/auth/github-copilot-device-flow.ts +++ b/apps/x/packages/core/src/auth/github-copilot-device-flow.ts @@ -74,7 +74,6 @@ export async function pollForToken( ): Promise { console.log('[GitHub Copilot] Polling for token...'); - const startTime = Date.now(); const pollingInterval = DEFAULT_POLLING_INTERVAL; while (Date.now() < expiresAt) {