From 80020ade2e0063459859dbca262c72c10cba6f9b Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 16 Jan 2026 23:23:57 +0000 Subject: [PATCH] chore: generate --- packages/opencode/src/plugin/copilot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/plugin/copilot.ts b/packages/opencode/src/plugin/copilot.ts index 776b70fe9..932b3fd6a 100644 --- a/packages/opencode/src/plugin/copilot.ts +++ b/packages/opencode/src/plugin/copilot.ts @@ -246,7 +246,7 @@ export async function CopilotAuthPlugin(input: PluginInput): Promise { // GitHub OAuth API may return the new interval in seconds in the response. // We should try to use that if provided with safety margin. const serverInterval = data.interval - if (serverInterval && typeof serverInterval === 'number' && serverInterval > 0) { + if (serverInterval && typeof serverInterval === "number" && serverInterval > 0) { newInterval = serverInterval * 1000 }