fix: Clean up linting warnings in GitHub Copilot files

- Remove unused imports in github-copilot-auth.ts
- Remove unused variable in github-copilot-device-flow.ts
- Add eslint-disable comment for any in test file
This commit is contained in:
Rowboat Developer 2026-04-17 09:33:08 -05:00
parent c550623754
commit 48bf18cb23
2 changed files with 0 additions and 2 deletions

View file

@ -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';

View file

@ -74,7 +74,6 @@ export async function pollForToken(
): Promise<OAuthTokens> {
console.log('[GitHub Copilot] Polling for token...');
const startTime = Date.now();
const pollingInterval = DEFAULT_POLLING_INTERVAL;
while (Date.now() < expiresAt) {