mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-30 02:46:25 +02:00
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:
parent
c550623754
commit
48bf18cb23
2 changed files with 0 additions and 2 deletions
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue