diff options
| author | GitHub Action <[email protected]> | 2026-01-16 23:23:57 +0000 |
|---|---|---|
| committer | GitHub Action <[email protected]> | 2026-01-16 23:23:57 +0000 |
| commit | 80020ade2e0063459859dbca262c72c10cba6f9b (patch) | |
| tree | c4251b1068fba35b20218bce18689be13abb40e2 /packages | |
| parent | 08ef97b162d75b5824f6de3a8a4b6553a13853bf (diff) | |
| download | opencode-80020ade2e0063459859dbca262c72c10cba6f9b.tar.gz opencode-80020ade2e0063459859dbca262c72c10cba6f9b.zip | |
chore: generate
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/src/plugin/copilot.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<Hooks> { // 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 } |
