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]');