From 91a6733ee760a89286313f8c78ff02365eedf083 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 18 Oct 2026 08:34:53 +0700 Subject: [PATCH] fix(tools): correct arguments destructuring for prs create --- tools/gitea.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gitea.ts b/tools/gitea.ts index e744894..59b41a6 100644 --- a/tools/gitea.ts +++ b/tools/gitea.ts @@ -104,7 +104,7 @@ async function main() { } } } else if (sub === 'create') { - const [,, head, base, title, ...bodyParts] = args; + const [, head, base, title, ...bodyParts] = args; const body = bodyParts.join(' ') || ''; if (!head || !base || !title) { console.error('Usage: bun tools/gitea.ts prs create [body]');