From bd2900483150d690acdc53acb37e98eda7bb7fe5 Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Wed, 15 Apr 2026 23:50:50 -0400 Subject: feat: enable type-aware no-misused-spread rule, fix 8 violations (#22749) --- .opencode/tool/github-pr-search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.opencode/tool/github-pr-search.ts') diff --git a/.opencode/tool/github-pr-search.ts b/.opencode/tool/github-pr-search.ts index 927e68fd7..8bc8c554a 100644 --- a/.opencode/tool/github-pr-search.ts +++ b/.opencode/tool/github-pr-search.ts @@ -7,7 +7,7 @@ async function githubFetch(endpoint: string, options: RequestInit = {}) { Authorization: `Bearer ${process.env.GITHUB_TOKEN}`, Accept: "application/vnd.github+json", "Content-Type": "application/json", - ...options.headers, + ...(options.headers instanceof Headers ? Object.fromEntries(options.headers.entries()) : options.headers), }, }) if (!response.ok) { -- cgit v1.2.3