We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08ef97b commit 80020adCopy full SHA for 80020ad
1 file changed
packages/opencode/src/plugin/copilot.ts
@@ -246,7 +246,7 @@ export async function CopilotAuthPlugin(input: PluginInput): Promise<Hooks> {
246
// GitHub OAuth API may return the new interval in seconds in the response.
247
// We should try to use that if provided with safety margin.
248
const serverInterval = data.interval
249
- if (serverInterval && typeof serverInterval === 'number' && serverInterval > 0) {
+ if (serverInterval && typeof serverInterval === "number" && serverInterval > 0) {
250
newInterval = serverInterval * 1000
251
}
252
0 commit comments